File: rules

package info (click to toggle)
form 4.2.1%2Bgit20200217-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 5,500 kB
  • sloc: ansic: 101,613; cpp: 9,375; sh: 1,582; makefile: 505
file content (26 lines) | stat: -rwxr-xr-x 542 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
#!/usr/bin/make -f
#export DH_VERBOSE = 1

# see FEATURE AREAS in dpkg-buildflags(1)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --enable-parform --with-zlib --with-gmp

override_dh_auto_build:
	dh_auto_build
	$(MAKE) -C doc pdf

override_dh_auto_install:
	dh_auto_install
	mkdir -p debian/form-doc/usr/share/doc/form-doc/
	cp doc/manual/manual.pdf debian/form-doc/usr/share/doc/form-doc/

override_dh_compress:
	dh_compress -Xpdf

override_dh_auto_test:
	@echo skipping test