File: rules

package info (click to toggle)
cons 2.2.0-4
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 600 kB
  • ctags: 304
  • sloc: perl: 2,307; makefile: 29
file content (37 lines) | stat: -rwxr-xr-x 620 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
#!/usr/bin/make -f

build:
	$(checkdir)
	touch build

clean:
	$(checkdir)
	rm -f build
	dh_clean

binary-arch: checkroot build
	dh_testdir

binary-indep: checkroot build
	dh_testdir
	rm -rf debian/tmp
	install -d debian/tmp
	dh_installdirs usr/bin usr/share/man/man1
	cp cons debian/tmp/usr/bin
	zcat cons.1.gz > debian/tmp/usr/share/man/man1/cons.1
	dh_installdocs README RELEASE
	dh_installchangelogs CHANGES
	dh_compress
	dh_fixperms
	dh_installdeb
	dh_gencontrol
	dh_md5sums
	dh_builddeb

binary: binary-indep binary-arch

checkroot:
	dh_testdir
	dh_testroot

.PHONY: binary binary-arch binary-indep clean checkroot