File: rules

package info (click to toggle)
bppphyview 0.6.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 244 kB
  • sloc: cpp: 2,040; makefile: 9
file content (19 lines) | stat: -rwxr-xr-x 543 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- -DCMAKE_BUILD_TYPE=RelWithDebInfo

override_dh_installman:
	# Deal with
	# dh_installman: warning: Multiple definitions for manpage via different compressions.  Please ensure there is at most one definition.
	# dh_installman: error: This feature was removed in compat 13.
	gunzip -r obj-*/man/*
	find debian -name phyview.1.gz -delete
	dh_installman