Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 # Uncomment this to turn on verbose mode.
4 #export DH_VERBOSE=1
5
6 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
7
8 %:
9 dh $@ --with autoreconf
10
11 override_dh_auto_clean:
12 if [ -s Makefile ]; then $(MAKE) clean || true; fi
13
14 #override_dh_makeshlibs:
15 # dh_makeshlibs -V
16
17 override_dh_auto_build-indep:
18 ## Make doc - it seems to be necessary to build it like this:
19 cd doc/text && \
20 pdflatex crc.tex && bibtex crc ;\
21 pdflatex crc.tex && pdflatex crc.tex
22
23 override_dh_auto_install:
24 dh_auto_install --arch --destdir=$(CURDIR)/debian/tmp
25
26 override_dh_compress:
27 ## Don't compress examples:
28 dh_compress -X.cc -X.h
29