File: rules

package info (click to toggle)
pngcrush 1.8.13-0.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster
  • size: 864 kB
  • sloc: ansic: 14,702; makefile: 70
file content (18 lines) | stat: -rwxr-xr-x 423 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@

override_dh_auto_build:
	dh_auto_build
	docbook-to-man debian/pngcrush.sgml > pngcrush.1
	sed -e '1,/^<pre>$$/d' -e '/<\/pre>/,$$d' < ChangeLog.html > changelog

override_dh_auto_clean:
	dh_auto_clean
	rm -f pngcrush.1 changelog

# without this, the binary may be unnecessarily linked with libm
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed