File: rules

package info (click to toggle)
flare-engine 0.19-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,840 kB
  • ctags: 3,114
  • sloc: cpp: 25,863; ansic: 612; xml: 119; python: 90; makefile: 8; sh: 2
file content (34 lines) | stat: -rwxr-xr-x 1,012 bytes parent folder | download
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
30
31
32
33
34
#!/usr/bin/make -f
# -*- makefile -*-

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

export DEB_LDFLAGS_MAINT_APPEND := -Wl,--as-needed

%:
	dh $@ --buildsystem=cmake --parallel

override_dh_auto_configure:
	dh_auto_configure -Scmake -- \
	  -DCMAKE_INSTALL_PREFIX=/usr

override_dh_link:
        # Use the system-wide fonts
	dh_link -- usr/share/fonts/truetype/liberation/LiberationSans-Regular.ttf usr/share/games/flare/default/mods/default/fonts/LiberationSans-Regular.ttf


# mafm 20111021 -- man page can be regenerated from time to time, no
# need for this override dh_installman and use xsltproc every time
# (and so we save a few build-depends as well, XML is not used for
# anything else)

# override_dh_installman:
# 	xsltproc --nonet \
# 		--param make.year.ranges 1 \
# 		--param make.single.year.ranges 1 \
# 		--param man.charmap.use.subset 0 \
# 		-o debian/ \
# 		http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl \
# 		debian/flare.1.xml
# 	dh_installman