File: rules

package info (click to toggle)
info2man 1.1-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 284 kB
  • ctags: 161
  • sloc: perl: 2,201; makefile: 26; sh: 6
file content (35 lines) | stat: -rwxr-xr-x 573 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
#! /usr/bin/make -f

export DH_COMPAT=2

tmp = $(CURDIR)/debian/info2man

build:

clean:
	dh_testdir
	dh_clean

binary-arch:

binary-indep:
	dh_testdir
	dh_testroot
	dh_clean -k
	dh_installdirs usr/bin usr/share/perl5
	install info2man info2pod $(tmp)/usr/bin/
	cp -a cs $(tmp)/usr/share/perl5/
	dh_installdocs 0README.txt
	dh_installman debian/info2man.1 debian/info2pod.1
	dh_installchangelogs
	dh_compress
	dh_fixperms
	dh_installdeb
	dh_perl
	dh_gencontrol
	dh_md5sums
	dh_builddeb

binary: binary-arch binary-indep

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