File: rules

package info (click to toggle)
znc-backlog 0.20180824-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 88 kB
  • sloc: cpp: 183; makefile: 11
file content (18 lines) | stat: -rwxr-xr-x 443 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1

ZNC_VERSION=$(shell dpkg-query -f '$${source:Version}' -W znc-dev)

# see FEATURE AREAS in dpkg-buildflags(1)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

%:
	dh $@

override_dh_gencontrol:
	dh_gencontrol -- "-Vznc:Version=$(ZNC_VERSION)"