File: rules

package info (click to toggle)
polyxmass 0.9.2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny
  • size: 20 kB
  • ctags: 3
  • sloc: makefile: 34
file content (57 lines) | stat: -rwxr-xr-x 901 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#!/usr/bin/make -f

export SHELL = /bin/bash

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)

PWD		:= $(shell pwd)

build: build-indep

build-indep: stamp-build

stamp-build:
	touch stamp-build

build-arch:
#nothing to do

clean:
	dh_testdir
	dh_testroot
	rm -f stamp-*
	rm -f patch-stamp*
	dh_clean

install: build stamp-install
stamp-install: stamp-build
	dh_testdir
	dh_testroot
	dh_clean -k

	touch stamp-install

binary-indep: build install
	dh_testdir -i
	dh_testroot -i

	dh_installdocs -i
	dh_installchangelogs -i
	dh_compress -i
	dh_fixperms -i
	dh_installdeb -i
	dh_gencontrol -i
	dh_md5sums -i
	dh_builddeb -i

# Build architecture-dependent files here.
binary-arch: build-arch
# nothing to do

binary: binary-indep binary-arch

.PHONY: control-file configure build clean binary-indep binary-arch binary install