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
|
#!/usr/bin/make -f
#export DH_VERBOSE=1
%:
dh $@ --parallel --with autotools_dev
override_dh_auto_configure:
chmod a+x configure install-sh missing
touch configure.in
touch aclocal.m4
touch configure
touch config.h.in
touch `find . -name Makefile.in`
dh_auto_configure -- \
--prefix=/usr \
--mandir=\$${prefix}/share/man \
--bindir=/usr/games \
--localstatedir=/var \
--datadir=/usr/share/games
override_dh_auto_clean:
[ ! -f Makefile ] || $(MAKE) clean
override_dh_clean:
dh_clean
dh_clean config.status config.log config.h stamp-h1 Makefile data/Makefile
rm -Rf .deps .pc
|