File: rules

package info (click to toggle)
i2util 1.6-1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, buster, stretch
  • size: 748 kB
  • ctags: 473
  • sloc: ansic: 5,290; perl: 1,151; makefile: 74; sh: 17
file content (32 lines) | stat: -rwxr-xr-x 690 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/usr/bin/make -f


export DEB_CFLAGS_MAINT_APPEND  = -fPIC
export DEB_LDFLAGS_MAINT_APPEND = -fPIC
export DEB_BUILD_MAINT_OPTIONS  = hardening=+all

override_dh_auto_clean:
	[ ! -f Makefile ] || $(MAKE) distclean
	rm -f aclocal.m4
	rm -f aespasswd/Makefile.in
	rm -f config/compile
	rm -f config/config.guess
	rm -f config/config.sub
	rm -f config/depcomp
	rm -f config/install-sh
	rm -f config/missing
	rm -f config/test-driver
	rm -f configure
	rm -f doc/Makefile.in
	rm -f I2util/config.h.in
	rm -f I2util/Makefile.in
	rm -f Makefile.in
	rm -f pfstore/Makefile.in
	rm -f test/Makefile.in

override_dh_auto_configure:
	./bootstrap.sh
	dh_auto_configure

%:
	dh $@  --with autotools-dev