File: rules

package info (click to toggle)
sng 1.1.0-1
  • links: PTS
  • area: main
  • in suites: buster, stretch
  • size: 600 kB
  • ctags: 398
  • sloc: ansic: 2,725; sh: 1,335; xml: 287; makefile: 24
file content (16 lines) | stat: -rwxr-xr-x 518 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

%:
	dh $@ --parallel --with autoreconf

override_dh_auto_clean:
	# Makefile shipped by upstream is broken -> `make distclean` fails.
	# remove the files manually instead of trying to clean automatically
	rm -f Makefile *.o sng config.h config.log config.status stamp-h1

override_dh_auto_test:
	# upstream test requires images shipped with external PNG testsuite,
	# which is not packaged in Debian