File: rules

package info (click to toggle)
purity-off 0-4
  • links: PTS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 224 kB
  • sloc: makefile: 26
file content (35 lines) | stat: -rwxr-xr-x 522 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
28
29
30
31
32
33
34
35
#!/usr/bin/make -f
SHELL+= -e

build:

clean:
	dh_testdir
	-rm -f build
	dh_clean

binary-indep: checkroot
	dh_testdir
	dh_clean
	dh_installdirs usr/share/games/purity/
	cp tests/* debian/purity-off/usr/share/games/purity/
	dh_installdocs
	dh_installchangelogs
	dh_compress
	dh_fixperms
	dh_installdeb
	dh_gencontrol
	dh_md5sums
	dh_builddeb

binary: binary-arch binary-indep

binary-arch:

build-arch: build 
build-indep: build

checkroot:
	test root = "`whoami`"

.PHONY: binary binary-arch binary-indep clean checkroot