File: rules

package info (click to toggle)
d-itg 2.8.1-r1023-3
  • links: PTS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 1,520 kB
  • sloc: cpp: 18,862; makefile: 177; sh: 90
file content (26 lines) | stat: -rwxr-xr-x 547 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
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

%:
	dh $@

override_dh_auto_configure:
	# Empty configuration

override_dh_auto_build:
	make -C src sctp=on dccp=on arm=on onoff=on
	# pdflatex needs several runs to get TOC correctly
	cd doc && for i in seq 3 ; do pdflatex d-itg-manual.tex ; done

override_dh_auto_clean:
	make -C src clean
	-rm -f bin/*
	-cd doc && rm -f *.pdf *.log *.out *.aux *.toc

override_dh_compress:
	dh_compress -X.pdf