File: rules

package info (click to toggle)
toppic 1.8.0%2Brepack1-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 111,368 kB
  • sloc: cpp: 62,240; xml: 8,121; javascript: 1,356; python: 755; sh: 108; makefile: 22
file content (34 lines) | stat: -rwxr-xr-x 741 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
31
32
33
34
#!/usr/bin/make -f
export DH_VERBOSE = 1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

%:
	dh $@ --buildsystem=cmake

override_dh_auto_clean:
	rm -f debian/topfd.1
	rm -f debian/toppic.1
	rm -f debian/topmg.1
	rm -f debian/topdiff.1

	rm -rf obj-x86_64-linux-gnu

	dh_clean


override_dh_auto_configure:
	rst2man debian/topfd.1.rst > debian/topfd.1
	rst2man debian/toppic.1.rst > debian/toppic.1
	rst2man debian/topmg.1.rst > debian/topmg.1
	rst2man debian/topdiff.1.rst > debian/topdiff.1

	dh_auto_configure -- \
		-DCMAKE_BUILD_TYPE=Release

override_dh_dwz:
	echo "Skipping dh_dwz because of Unknown debugging section .debug_addr error."
	# dh_dwz --no-dwz-multifile