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
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh $@ --with autoreconf
override_dh_auto_clean:
if [ -s Makefile ]; then $(MAKE) clean || true; fi
#override_dh_makeshlibs:
# dh_makeshlibs -V
override_dh_auto_build-indep:
## Make doc - it seems to be necessary to build it like this:
cd doc/text && \
pdflatex crc.tex && bibtex crc ;\
pdflatex crc.tex && pdflatex crc.tex
override_dh_auto_install:
dh_auto_install --arch --destdir=$(CURDIR)/debian/tmp
override_dh_compress:
## Don't compress examples:
dh_compress -X.cc -X.h
|