File: rules

package info (click to toggle)
tunnelx 20140102-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,860 kB
  • ctags: 3,450
  • sloc: java: 26,321; xml: 3,514; python: 188; makefile: 20; sh: 14
file content (29 lines) | stat: -rwxr-xr-x 625 bytes parent folder | download
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
#!/usr/bin/make -f

#DH_VERBOSE=1

export JAVE_HOME=/usr/lib/jvm/default-java

%:
	dh --with javahelper $@

override_dh_auto_build:
	docbook-to-man debian/manpage.sgml > tunnelx.1
	dh_installman --verbose

override_dh_clean:
	dh_clean
	rm -f tunnelx.1
	rm -f debian/tunnelx.png
	rm -f symbols/listdir.txt
	rm -f tutorials/listdir.txt

override_jh_build:
	jh_build -o"-source 1.5"
	        
override_dh_install:
	uudecode -o debian/tunnelx.png debian/tunnelx.png.uu
	dh_install
	ls symbols > symbols/listdir.txt
	ls tutorials > tutorials/listdir.txt
	jar uMf debian/tunnelx/usr/share/tunnelx/tunnelx.jar symbols/* tutorials/*