File: rules

package info (click to toggle)
sleepenh 1.7-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 64 kB
  • sloc: ansic: 128; makefile: 29
file content (16 lines) | stat: -rwxr-xr-x 374 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

include /usr/share/dpkg/default.mk

vcsversion = $(shell sed -ne '1{s,^.*(\([0-9\.]\+\)-.*).*$$,\1,p;q}' < debian/changelog)
export DEB_BUILD_MAINT_OPTIONS += hardening=+all

%:
	dh $@

override_dh_auto_build:
	$(MAKE) EXTRA_CFLAGS=-g vcsversion='\"$(call vcsversion)\"'