File: rules

package info (click to toggle)
teg 0.11.2%2Bdebian-8
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 12,340 kB
  • sloc: ansic: 17,600; sh: 8,546; python: 1,442; xml: 1,310; makefile: 357
file content (27 lines) | stat: -rwxr-xr-x 636 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
#!/usr/bin/make -f
#export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		--prefix=/usr \
		--bindir=/usr/games \
		--sysconfdir=/etc

override_dh_auto_clean:
# Upstream's tarball is not sane.
	if grep "nordi/.eclipse" Makefile > /dev/null; then \
	  find -name Makefile -delete; \
	fi
	rm -f po/stamp-po po/*.gmo
	dh_auto_clean

override_dh_installdocs:
	dh_installdocs AUTHORS HACKING PEOPLE README.GGZ TODO

override_dh_installman:
	dh_installman debian/tegserver.6 debian/tegclient.6 debian/tegrobot.6