File: rules

package info (click to toggle)
aprsdigi 2.4.4-3.2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 576 kB
  • sloc: ansic: 3,686; sh: 765; makefile: 58
file content (46 lines) | stat: -rwxr-xr-x 888 bytes parent folder | download | duplicates (3)
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
#!/usr/bin/make -f

build:
	dh_testdir
	./configure --prefix=/usr
	$(MAKE)
	touch build

clean:
	dh_testdir
	-rm -f build
	[ ! -f Makefile ] || $(MAKE) distclean
	-rm -f `find . -name "*~"`
	-rm -rf debian/aprsdigi debian/files* core debian/substvars

binary-indep:	build
	dh_testdir
	dh_testroot
# There are no architecture-independent files to be uploaded
# generated by this package.  If there were any they would be
# made here.

binary-arch:	build
	dh_testdir
	dh_clean
	dh_installdirs
	$(MAKE) install DESTDIR=`pwd`/debian/aprsdigi/
	mv debian/aprsdigi/usr/man debian/aprsdigi/usr/share

	dh_installdocs README AUTHORS TODO NEWS
	dh_installman aprsdigi.8 aprsmon.8
	dh_installchangelogs
	dh_strip
	dh_compress
	dh_fixperms
	dh_installdeb
	dh_shlibdeps
	dh_gencontrol
	dh_makeshlibs
	dh_md5sums
	dh_builddeb

# Below here is fairly generic really

binary:		binary-indep binary-arch