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
|
#!/usr/bin/make -f
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk
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-1.7
autoconf
autoheader
automake-1.7 -a -c
touch debian/stamp-my-autotools
clean::
rm -f debian/stamp-my-autotools
binary-install/libmath++-doc::
$(DEB_MAKE_INVOKE) api-doc
mkdir -p debian/libmath++-doc/usr/share/doc/libmath++-doc
cp -a doc/user-api debian/libmath++-doc/usr/share/doc/libmath++-doc/html
|