File: rules

package info (click to toggle)
icom 19990819-2
  • links: PTS
  • area: main
  • in suites: potato
  • size: 540 kB
  • ctags: 336
  • sloc: ansic: 2,356; csh: 62; makefile: 62; awk: 24
file content (49 lines) | stat: -rwxr-xr-x 843 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
#!/usr/bin/make -f

package = icom

build:
	dh_testdir
	make
	touch build

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

binary-indep:	build
# nothing else to do

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

	dh_installdocs index.htm keybrd.htm keypad.htm option.htm call.txt freq.txt arinc
	cp -r 271 761 775 r7000 r71 r72 8500* qsy debian/tmp/usr/share/doc/icom/examples
	chmod -R a-x debian/tmp/usr/share/doc/icom/examples/*

	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