File: rules

package info (click to toggle)
game-data-packager 30
  • links: PTS, VCS
  • area: contrib
  • in suites: wheezy
  • size: 292 kB
  • sloc: sh: 117; makefile: 69
file content (20 lines) | stat: -rwxr-xr-x 362 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f
# GNU copyright 1997 to 1999 by Joey Hess.

#export DH_VERBOSE=1
export DH_OPTIONS

%:
	dh $@

VERSION := $(shell dpkg-parsechangelog | grep ^Version | cut -d' ' -f2-)

override_dh_auto_build:
	$(MAKE) VERSION=$(VERSION)

override_dh_auto_clean:
	$(MAKE) clean VERSION=$(VERSION)
	#rm -f *.deb

override_dh_installdocs:
	dh_installdocs -XTODO