File: rules

package info (click to toggle)
ipac 0.99-3
  • links: PTS
  • area: main
  • in suites: slink
  • size: 180 kB
  • ctags: 64
  • sloc: perl: 878; ansic: 451; sh: 169; makefile: 69
file content (51 lines) | stat: -rwxr-xr-x 797 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
48
49
50
51
#!/usr/bin/make -f

package = ipac

build:
	dh_testdir
	# nothing to actually do to build this
	touch build

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

binary-indep:	build
# nothing else to do

binary-arch:	build
	dh_clean
	dh_installdirs
	install ipacsum fetchipac ipacset `pwd`/debian/tmp/usr/sbin
	cp ipac.conf `pwd`/debian/tmp/etc

	dh_installdocs README
	dh_installmenu
	dh_installmanpages
	dh_installchangelogs CHANGES

	dh_installcron
	cp debian/cron debian/tmp/etc/cron.d/ipac

	dh_installinit
	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