File: rules

package info (click to toggle)
podracer 1.4-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny
  • size: 92 kB
  • ctags: 14
  • sloc: sh: 434; ansic: 57; makefile: 32
file content (46 lines) | stat: -rwxr-xr-x 766 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
41
42
43
44
45
46
#!/usr/bin/make -f

build:
	dh_testdir
	# Nothing to do
	touch build

clean:
	dh_testdir
	-rm build
	-rm podracer.1
	dh_clean

binary-arch:	build
# nothing else to do

binary-indep:	build
	dh_clean
	dh_installdirs
	cp podracer debian/podracer/usr/bin
	cp sample.subscriptions debian/podracer/usr/share/podracer
	cp podracer.conf debian/podracer/etc

	# Unpack podracer.1.gz so that it can be compressed with
	# maximum compression later by dh_compress
	zcat podracer.1.gz > podracer.1
	dh_installman podracer.1

	dh_installdocs CREDITS TODO
	dh_installchangelogs ChangeLog
	dh_strip
	dh_compress
	dh_fixperms
	dh_installdeb
	dh_shlibdeps
	dh_gencontrol
	dh_makeshlibs
	dh_md5sums
	dh_builddeb

binary:		binary-indep binary-arch

checkroot:
	dh_testdir
	dh_testroot