File: rules

package info (click to toggle)
acfax 981011-7
  • links: PTS
  • area: main
  • in suites: woody
  • size: 448 kB
  • ctags: 737
  • sloc: ansic: 5,498; makefile: 36
file content (47 lines) | stat: -rwxr-xr-x 684 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

package = acfax

build:
	dh_testdir
	xmkmf
	make
	touch build

clean:
	dh_testdir
	-make clean
	-rm -f build Makefile
	-rm -f `find . -name "*~"`
	dh_clean

binary-indep:	build
# nothing else to do

binary-arch:	build
	dh_clean
	dh_installdirs
	make install DESTDIR=`pwd`/debian/tmp BINDIR=/usr/bin

	dh_installdocs 0README 0FEATURES 0TODO
	dh_installmenu
	dh_installmanpages
	dh_undocumented
	dh_installchangelogs
	dh_strip
	dh_compress
	dh_fixperms
	dh_installdeb
	dh_shlibdeps
	dh_gencontrol
	dh_makeshlibs
	dh_md5sums
	dh_builddeb

binary:		binary-indep binary-arch

checkroot:
	dh_testdir
	dh_testroot

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