File: rules

package info (click to toggle)
tilemaker 3.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 78,952 kB
  • sloc: cpp: 29,461; ansic: 12,510; makefile: 229; ruby: 77; sh: 43
file content (16 lines) | stat: -rwxr-xr-x 423 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

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

# Enable hardening build flags
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# Obtain and set version information from debian package
include /usr/share/dpkg/pkg-info.mk
TM_VERSION := $(shell echo $(DEB_VERSION_UPSTREAM) | sed -e 's/\+.*//')

export DEB_CXXFLAGS_MAINT_APPEND=-DTM_VERSION=$(TM_VERSION)

%:
	dh $@ --buildsystem=cmake