File: rules

package info (click to toggle)
lincity-ng 2.14.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 186,616 kB
  • sloc: cpp: 31,237; xml: 23,019; ansic: 274; lisp: 189; python: 182; sh: 92; makefile: 18
file content (18 lines) | stat: -rwxr-xr-x 505 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
#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

execute_after_dh_auto_install:
	$(RM) debian/tmp/usr/share/doc/lincity-ng/COPYING.txt