File: rules

package info (click to toggle)
frobby 0.9.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,616 kB
  • sloc: cpp: 30,134; sh: 1,184; makefile: 312; ansic: 102; lisp: 10
file content (27 lines) | stat: -rwxr-xr-x 644 bytes parent folder | download
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
#!/usr/bin/make -f

include /usr/share/dpkg/architecture.mk # for DEB_HOST_MULTIARCH

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export PREFIX = /usr
export LIBDIR = /usr/lib/$(DEB_HOST_MULTIARCH)

# for reproducible builds of manual
export FORCE_SOURCE_DATE = 1

%:
	dh $@ --no-parallel --buildsystem=makefile

override_dh_auto_build-arch:
	dh_auto_build -- all STRIP=:
	dh_auto_build -- library
	dh_auto_build -- library MODE=shared
	dh_auto_build -- docPdf

override_dh_auto_build-indep:
	dh_auto_build -- develDocHtml

override_dh_auto_test-indep override_dh_auto_install-indep:

override_dh_installdocs:
	dh_installdocs -X/_formulas.