File: rules

package info (click to toggle)
yabar 0.4.0-1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 1,148 kB
  • ctags: 398
  • sloc: ansic: 1,951; makefile: 35
file content (14 lines) | stat: -rwxr-xr-x 400 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

# export VERSION variable to be used in Makefile (output of yabar -v)
export VERSION = $(shell dpkg-parsechangelog --show-field version)

# Build with harderning flags ( see dpkg-buildflags(1) )
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
export CPPFLAGS CFLAGS
export LDLIBS = $(LDFLAGS)

%:
	dh $@ --parallel