File: rules

package info (click to toggle)
sysv-rc-conf 0.98-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 112 kB
  • ctags: 47
  • sloc: perl: 712; sh: 58; makefile: 45
file content (45 lines) | stat: -rwxr-xr-x 703 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
#!/usr/bin/make -f

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

build: build-stamp

build-stamp:
	dh_testdir

	$(MAKE)

	touch build-stamp

clean:
	dh_testdir
	dh_testroot

	$(MAKE) clean

	dh_clean build-stamp sysv-rc-conf.8

install: build
	dh_testdir
	dh_testroot
	dh_clean -k build-stamp sysv-rc-conf.8
	dh_installdirs
	$(MAKE) install DESTDIR=$(CURDIR)/debian/sysv-rc-conf

binary-indep: build install
	dh_testdir
	dh_testroot
	dh_installchangelogs ChangeLog
	dh_installdocs
	gunzip -f sysv-rc-conf.8.gz
	dh_installman sysv-rc-conf.8
	dh_compress
	dh_fixperms
	dh_installdeb
	dh_gencontrol
	dh_md5sums
	dh_builddeb

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