File: rules

package info (click to toggle)
openjazz 20190106-1
  • links: PTS, VCS
  • area: contrib
  • in suites: buster
  • size: 1,312 kB
  • sloc: cpp: 16,061; makefile: 162
file content (23 lines) | stat: -rwxr-xr-x 561 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
#!/usr/bin/make -f

DATAPATH = /usr/share/games/jazz-jackrabbit/

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND = -Wall
export DEB_CPPFLAGS_MAINT_APPEND = -DHOMEDIR -DDATAPATH=\"$(DATAPATH)\"
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed -Wl,--no-undefined

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		bindir=/usr/games

override_dh_auto_install:
	dh_auto_install -- \
		pkgdatadir="$(DATAPATH)"

override_dh_installman:
	pod2man unix/OpenJazz.6.pod > debian/OpenJazz.6
	dh_installman debian/OpenJazz.6