File: rules

package info (click to toggle)
itsalltext 0.8.5-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 204 kB
  • ctags: 1
  • sloc: makefile: 31
file content (40 lines) | stat: -rwxr-xr-x 616 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
36
37
38
39
40
#!/usr/bin/make -f

VERSION := $(shell dpkg-parsechangelog | \
                       sed -n -e 's/Version: \([^-]*\)-.*/\1/p')

clean:
	dh_testdir
	dh_testroot
	dh_clean
	rm -f build-stamp

build: build-stamp
build-stamp:
	dh_testdir
	touch build-stamp

install: build
	dh_testdir
	dh_testroot
	dh_installdirs
	dh_install
	dh_link

binary-indep: install
	dh_testdir
	dh_testroot
	dh_installchangelogs
	dh_installdocs
	dh_compress
	dh_fixperms
	dh_installdeb
	dh_gencontrol
	dh_md5sums
	dh_builddeb

binary-arch: install

binary: binary-arch binary-indep

.PHONY: binary binary-arch binary-indep build clean install