File: rules

package info (click to toggle)
lincity-ng 2.12.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 190,972 kB
  • sloc: cpp: 34,230; xml: 23,376; ansic: 402; python: 305; lisp: 189; sh: 124; makefile: 16
file content (15 lines) | stat: -rwxr-xr-x 418 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f
#export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
include /usr/share/dpkg/pkg-info.mk

%:
	dh $@

# BUG: FULL_PROJECT_VERSION & CMAKE_INSTALL_APPDATADIR
#      are not taken into account (BINDIR well)
override_dh_auto_configure:
	dh_auto_configure -- \
		-DCMAKE_INSTALL_BINDIR=/usr/games/ \
		-DFULL_PROJECT_VERSION=$(DEB_VERSION) \
		-DCMAKE_INSTALL_APPDATADIR=/usr/share/games