File: rules

package info (click to toggle)
lincity-ng 2.9~git20150314-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 191,124 kB
  • sloc: cpp: 34,384; xml: 25,862; sh: 3,218; ansic: 806; python: 302; makefile: 26
file content (29 lines) | stat: -rwxr-xr-x 724 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/usr/bin/make -f
#export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --without autoreconf

override_dh_missing:
	dh_missing --list-missing

override_dh_auto_configure:
	./makerelease.sh
	dh_auto_configure -- \
		--prefix=/usr \
		--bindir=\$${prefix}/games \
		--datarootdir=\$${prefix}/share/games \
		--mandir=\$${prefix}/share/man

override_dh_auto_build-arch:
	jam -q -dax

override_dh_auto_install:
	jam -sprefix=$(CURDIR)/debian/tmp/usr install
	# Remove duplicate Bitstream Vera font, use links file and symlink
	# to Debian's fonts-dejavu package.
	rm -f $(CURDIR)/debian/lincity-ng-data/usr/share/games/lincity-ng/fonts/*

override_dh_installchangelogs:
	dh_installchangelogs RELNOTES