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
|
#!/usr/bin/make -f
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk
DEB_AC_AUX_DIR = $(DEB_SRCDIR)/m4
DEB_CONFIGURE_EXTRA_FLAGS := --enable-optimize --disable-gui
clean::
rm -f aclocal.m4 config.guess config.h.in config.sub install-sh
rm -f libtool ltconfig ltmain.sh missing mkinstalldirs stamp-h.in
rm -f depcomp stamp-h1 configure
rm -rf autom4te.cache
find -name Makefile.in | xargs -r rm -f
# Unfortunately, cdbs's version of this doesn't work when aclocal.m4
# is missing.
post-patches:: debian/stamp-my-autotools
debian/stamp-my-autotools:
libtoolize -c -f
aclocal -I m4
autoconf
autoheader
automake -a -c
touch debian/stamp-my-autotools
clean::
rm -f debian/stamp-my-autotools
|