File: rules

package info (click to toggle)
hipercontracer 1.6.7-1
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 1,056 kB
  • sloc: cpp: 2,740; python: 1,230; sh: 785; sql: 147; makefile: 13
file content (21 lines) | stat: -rwxr-xr-x 580 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
#!/usr/bin/make -f

# export DH_VERBOSE = 1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --buildsystem=cmake

override_dh_auto_configure:
	dh_auto_configure -- -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON

override_dh_strip:
	dh_strip -phipercontracer
	dh_strip -phipercontracer-trigger
	dh_strip -plibhipercontracer-dev
	dh_strip -plibhipercontracer1
	strip --strip-debug --remove-section=.comment --remove-section=.note debian/libhipercontracer-dev/usr/lib/*/lib*.a

# Use upstream ChangeLog for installation
override_dh_installchangelogs:
	dh_installchangelogs -k ChangeLog