File: rules

package info (click to toggle)
tunnelx 20160713-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,892 kB
  • ctags: 3,545
  • sloc: java: 26,321; xml: 3,514; python: 188; makefile: 21; sh: 14
file content (30 lines) | stat: -rwxr-xr-x 624 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
30
#!/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

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

override_dh_install:
	uudecode -o debian/tunnelx.png debian/tunnelx.png.uu
	dh_install
	set -e; for x in symbols tutorials; do \
		rm -f $$x/listdir.txt; \
		ls $$x | LC_ALL=C sort > $$x/listdir.txt; \
	done
	jar uMf debian/tunnelx/usr/share/tunnelx/tunnelx.jar symbols/* tutorials/*