File: rules

package info (click to toggle)
root-tail 1.2-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 124 kB
  • ctags: 138
  • sloc: ansic: 1,269; makefile: 63; sh: 11
file content (47 lines) | stat: -rwxr-xr-x 665 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
47
#!/usr/bin/make -f

#export DH_VERBOSE=1

D=`pwd`/debian/root-tail

build: build-stamp

build-stamp:
	dh_testdir
	$(MAKE) root-tail
	touch build-stamp

clean: 
	dh_testroot
	dh_testdir
	$(MAKE) -i clean
	rm -f build-stamp
	dh_clean

install: build 
	dh_testroot
	dh_testdir
	dh_installdirs  
	install root-tail $D/usr/bin/ 

binary-indep:

binary-arch: install 
	dh_testdir
	dh_testroot
	dh_installdocs README
	dh_installchangelogs Changes
	dh_installman root-tail.man
	dh_strip
	dh_link
	dh_compress
	dh_fixperms
	dh_installdeb
	dh_shlibdeps
	dh_gencontrol
	dh_md5sums
	dh_builddeb

binary: binary-indep binary-arch

.PHONY: build clean binary-arch binary install