File: rules

package info (click to toggle)
form 4.3.1%2Bgit20250227%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,540 kB
  • sloc: ansic: 107,724; cpp: 19,153; sh: 1,677; makefile: 522
file content (30 lines) | stat: -rwxr-xr-x 602 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
28
29
30
#!/usr/bin/make -f
#export DH_VERBOSE = 1

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

#export CC=gcc-11
#export CXX=g++-11

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --enable-parform --with-zlib --with-gmp --enable-native=no

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