File: rules

package info (click to toggle)
ketm 0.0.6-28
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,572 kB
  • sloc: ansic: 7,303; sh: 3,540; makefile: 135
file content (27 lines) | stat: -rwxr-xr-x 589 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
#!/usr/bin/make -f
#export DH_VERBOSE=1

%:
	dh $@ --without autoreconf

override_dh_auto_configure:
	chmod a+x configure install-sh missing
	touch configure.in
	touch aclocal.m4
	touch configure
	touch config.h.in
	touch `find . -name Makefile.in`
	dh_auto_configure -- \
		--prefix=/usr \
		--mandir=\$${prefix}/share/man \
		--bindir=/usr/games \
		--localstatedir=/var \
		--datadir=/usr/share/games

override_dh_auto_clean:
	[ ! -f Makefile ] || $(MAKE) clean

override_dh_clean:
	dh_clean
	dh_clean config.status config.log config.h stamp-h1 Makefile data/Makefile
	rm -Rf .deps .pc