summaryrefslogtreecommitdiffstats
path: root/debian/rules
blob: 6f183d4c035fb0d1504f7dc9ecd6087d63a89241 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --with autoreconf

override_dh_autoreconf:
	aclocal
	autoheader
	automake --add-missing
	autoconf

override_dh_auto_clean:
	[ ! -f Makefile ] || $(MAKE) clean
	rm -f missing install-sh depcomp compile
	rm -f Makefile config.h config.h.in config.log config.status config.guess config.sub man/Makefile src/Makefile stamp-h1 src/isaac_rand/.dirstamp src/mt19937ar-cok/.dirstamp

override_dh_auto_configure:
	dh_auto_configure -- --bindir=/usr/sbin