File: rules

package info (click to toggle)
assembly-stats 1.0.1%2Bds-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, trixie
  • size: 272 kB
  • sloc: cpp: 799; sh: 31; makefile: 9
file content (18 lines) | stat: -rwxr-xr-x 408 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

# DH_VERBOSE := 1
export LC_ALL=C.UTF-8

include /usr/share/dpkg/default.mk

# for hardening you might like to uncomment this:
export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- -DBUILD_TESTS=$(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),OFF,ON)

override_dh_auto_install:
	dh_install obj-$(DEB_HOST_GNU_TYPE)/assembly-stats usr/bin