File: rules

package info (click to toggle)
libexplain 1.4.D001-12
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 42,148 kB
  • sloc: ansic: 156,027; makefile: 47,893; sh: 16,303; yacc: 1,898; awk: 245
file content (27 lines) | stat: -rwxr-xr-x 625 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
#!/usr/bin/make -f

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

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --no-parallel


# Temporary workaround for dh_autoreconf error on runstatedir
# To whoever see it: please submit a patch to fix it!
override_dh_auto_configure:
	DH_COMPAT=10 dh_auto_configure

override_dh_auto_install:
	dh_auto_install
	rm -fv debian/tmp/usr/lib/*/*.la
	rm -fv debian/tmp/usr/share/man/man1/explain_license.1
	rm -fv debian/tmp/usr/share/man/man3/explain_license.3

override_dh_missing:
	dh_missing --fail-missing

override_dh_compress:
	dh_compress --exclude=.pdf