File: rules

package info (click to toggle)
bustools 0.40.0-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 2,852 kB
  • sloc: ansic: 14,294; cpp: 5,155; makefile: 14
file content (22 lines) | stat: -rwxr-xr-x 449 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
#!/usr/bin/make -f

include /usr/share/dpkg/default.mk

export DH_VERBOSE = 1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh  $@ --buildsystem=cmake

DH_AUTO_CONFIGURE_OPTS := -DCMAKE_BUILD_TYPE=Debug

override_dh_auto_configure:
	dh_auto_configure -- $(DH_AUTO_CONFIGURE_OPTS)

override_dh_auto_build:
	dh_auto_build
	help2man ./obj-$(DEB_BUILD_GNU_TYPE)/src/bustools > bustools.1

override_dh_auto_clean:
	dh_auto_clean
	rm -f bustools.1