File: rules

package info (click to toggle)
palp 2.21-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,300 kB
  • sloc: ansic: 17,456; sh: 1,452; makefile: 52
file content (20 lines) | stat: -rwxr-xr-x 422 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_autoreconf:
	if ! test -f GNUmakefile.bak; then \
	  mv GNUmakefile GNUmakefile.bak ; \
	fi
	cp debian/configure.ac debian/GNUmakefile.am .
	dh_autoreconf

override_dh_auto_clean:
	make clean
	rm -f configure.ac GNUmakefile.am config.log config.status
	if test -f GNUmakefile.bak; then \
	  mv GNUmakefile.bak GNUmakefile ; \
	fi