File: rules

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

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

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