File: rules

package info (click to toggle)
jaligner 1.0%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 932 kB
  • ctags: 572
  • sloc: java: 4,080; xml: 51; makefile: 14; sh: 11
file content (26 lines) | stat: -rwxr-xr-x 744 bytes parent folder | download | duplicates (4)
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
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export CLASSPATH=/usr/share/icedtea-web/netx.jar

%:
	dh $@ --with javahelper --with jh_maven_repo_helper

override_dh_auto_build:
	#cp -a debian/images/*.gif src/jaligner/ui/images/gifs
	jh_build -J jaligner.jar src
	#rm -f src/jaligner/ui/images/gifs/[a-ik-z]*.gif
	asciidoctor --backend manpage --attribute reproducible \
		debian/jaligner.adoc

override_dh_install:
	dh_install src/jaligner /usr/share/jaligner
	find debian/jaligner/usr/share/jaligner -type f -a \( -name '*.java' -o -name '*.html' \) -delete
	find debian/jaligner/usr/share/jaligner -type d -empty -delete

override_dh_auto_clean:
	rm -f jaligner.jar
	rm -f debian/*.1