File: rules

package info (click to toggle)
libcrcutil 1.0-5.4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,212 kB
  • sloc: cpp: 4,237; sh: 1,112; ansic: 191; makefile: 54; awk: 17
file content (29 lines) | stat: -rwxr-xr-x 656 bytes parent folder | download | duplicates (2)
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