File: rules

package info (click to toggle)
anarchism 15.3-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 26,216 kB
  • sloc: makefile: 10
file content (17 lines) | stat: -rwxr-xr-x 543 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1

%:
	dh $@

override_dh_installchangelogs:
	dh_installchangelogs html/new.html

override_dh_installdocs:
	dh_installdocs
	# remove generic privacy breach: embedded images must not be fetched from the net
	sed -i "s#<img style.*>##g" debian/anarchism/usr/share/doc/anarchism/html/book.html
	echo "If the following command fails, the sed command in debian/rules didnt do anything…"
	! diff html/book.html debian/anarchism/usr/share/doc/anarchism/html/book.html