File: rules

package info (click to toggle)
c-evo-dh 3.1-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 10,548 kB
  • sloc: pascal: 57,426; xml: 256; makefile: 114; sh: 4
file content (44 lines) | stat: -rwxr-xr-x 818 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/usr/bin/make -f
export DH_VERBOSE = 1

include /usr/share/dpkg/pkg-info.mk

# Enable ONE of the following
#export B_MODE = Debug
export B_MODE = Release

ifeq ($(B_MODE),Debug)
	export TEXTLOG=1
endif

export DESTDIR  = debian/tmp
export prefix   = /usr
export ShareDir = /share/games/c-evo-dh
export BinDir   = /games
export LibDir   = /lib/games
export ExecDir  = /libexec

override_dh_auto_build-indep:
	# Nothing to do here

override_dh_auto_install-indep:
	make install-data

override_dh_auto_install-arch:
	make install-binary

#Override dh_strip to preserve line numbers in stack trace
override_dh_strip:
ifneq ($(B_MODE),Debug)
	dh_strip
endif

# Not needed, clutter in build log
override_dh_strip_nondeterminism:

override_dh_installchangelogs:
	dh_installchangelogs -k Docs/C-evo-dh.changelog


%:
	dh $@