File: rules

package info (click to toggle)
atool 0.29.0-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, sarge
  • size: 308 kB
  • sloc: perl: 1,343; sh: 243; makefile: 98
file content (53 lines) | stat: -rwxr-xr-x 1,261 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
46
47
48
49
50
51
52
53
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.

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

include /usr/share/dpatch/dpatch.make

clean: clean-patched unpatch
clean-patched:
	dh_testdir
	dh_testroot
	rm -f atool atool.1
	dh_clean 

install: patch
	dh_testdir
	dh_testroot
	dh_clean -k 
	dh_installdirs
	perl debian/replace_autoconf_vars atool.in atool
	perl debian/replace_autoconf_vars atool.1.in atool.1
	dh_install

binary-indep: install
	dh_testdir
	dh_testroot
	dh_installchangelogs NEWS
	dh_installdocs
	dh_installexamples
	dh_installman
	dh_link usr/bin/atool usr/bin/acat \
		usr/bin/atool usr/bin/adiff \
		usr/bin/atool usr/bin/als \
		usr/bin/atool usr/bin/apack \
		usr/bin/atool usr/bin/aunpack \
		usr/share/man/man1/atool.1 /usr/share/man/man1/acat.1 \
		usr/share/man/man1/atool.1 /usr/share/man/man1/adiff.1 \
		usr/share/man/man1/atool.1 /usr/share/man/man1/als.1 \
		usr/share/man/man1/atool.1 /usr/share/man/man1/apack.1 \
		usr/share/man/man1/atool.1 /usr/share/man/man1/aunpack.1
	dh_compress
	dh_fixperms
	dh_perl
	dh_installdeb
	dh_gencontrol
	dh_md5sums
	dh_builddeb

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