File: rules

package info (click to toggle)
lordsawar 0.3.2%2Bfrogknows-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 41,716 kB
  • sloc: cpp: 103,193; sh: 4,965; xml: 2,220; makefile: 1,371
file content (24 lines) | stat: -rwxr-xr-x 580 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/make -f
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		--prefix=/usr \
		--bindir=\$${prefix}/games \
		--datadir=\$${prefix}/share/ \
		--mandir=\$${prefix}/share/man \
		--infodir=\$${prefix}/share/info \
		--localedir=\$${prefix}/share/locale

override_dh_install:
	# Remove not really useful tool for normal users
	# https://lists.debian.org/debian-devel-games/2015/07/msg00006.html
	$(RM) debian/tmp/usr/games/lordsawar-upgrade-file
	dh_install

override_dh_missing:
	dh_missing --list-missing