File: rules

package info (click to toggle)
dopewars 1.5.12-14
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 6,952 kB
  • ctags: 4,183
  • sloc: ansic: 31,614; sh: 8,577; makefile: 469; yacc: 318
file content (29 lines) | stat: -rwxr-xr-x 777 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
#!/usr/bin/make -f
#export DH_VERBOSE=1

override_dh_auto_configure:
	dh_auto_configure -- --prefix=/usr --datadir=/usr/share --bindir=/usr/games --localstatedir=/var/games --libdir=/usr/lib --libexecdir=/usr/lib

override_dh_autoreconf:
	cp -f $(shell automake --print-libdir)/mkinstalldirs .
	dh_autoreconf

override_dh_autoreconf_clean:
	rm -f mkinstalldirs
	dh_autoreconf_clean

override_dh_install:
	dh_install
	rm -f $(CURDIR)/debian/dopewars-data/usr/share/doc/dopewars/html/LICENCE
	rm -rf $(CURDIR)/debian/dopewars/var

override_dh_fixperms:
	dh_fixperms
	chgrp games $(CURDIR)/debian/dopewars/usr/games/dopewars
	chmod 2755 $(CURDIR)/debian/dopewars/usr/games/dopewars

override_dh_makeshlibs:
	dh_makeshlibs -Xusr/lib/dopewars

%:
	dh $@ --with autoreconf --parallel