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
|
#!/usr/bin/make -f
%:
dh $@
# regenerate auto* stuff
override_dh_auto_configure:
libtoolize -fc
aclocal
autoconf
automake --add-missing --copy
dh_auto_configure
# remove prebuilt config.{sub,guess}
override_dh_clean:
dh_clean
rm -f config.sub config.guess
rm -rf doc/api/
# only build the docs for binary and binary-indep builds, not for binary-arch
# in order not to waste buildd resources
docs:
cd doc && doxygen
binary-indep: docs
dh binary-indep
binary: docs
dh binary
|