File: rules

package info (click to toggle)
bustools 0.43.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 3,232 kB
  • sloc: ansic: 14,318; cpp: 11,098; sh: 42; makefile: 14
file content (22 lines) | stat: -rwxr-xr-x 449 bytes parent folder | download | duplicates (3)
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