File: rules

package info (click to toggle)
cup 0.10k-5
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 956 kB
  • ctags: 751
  • sloc: java: 5,623; makefile: 88; csh: 64; sh: 3
file content (42 lines) | stat: -rwxr-xr-x 738 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
#!/usr/bin/make -f

LIBRARY=cup
VERSION=0.10k

build:
	dh_testdir
	make -f debian/Makefile
	touch build

install:
	dh_testdir
	dh_clean
	dh_installdirs usr/share/java usr/bin
	install -m644 ${LIBRARY}.jar debian/cup/usr/share/java/${LIBRARY}-${VERSION}.jar
	install -m755 debian/cup.sh debian/cup/usr/bin/cup

clean: 
	dh_testdir
	dh_testroot
	dh_clean
	make -f debian/Makefile clean
	rm -f build

binary-indep: build install
	dh_testdir
	dh_testroot		
	dh_installdocs manual.html cup_logo.gif
	dh_installchangelogs CHANGELOG
	dh_installman debian/cup.1
	dh_link
	dh_fixperms
	dh_compress
	dh_installdeb
	dh_gencontrol
	dh_md5sums
	dh_builddeb

binary-arch:

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