File: rules

package info (click to toggle)
libjlha-java 0.0.20050504-6
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny
  • size: 1,364 kB
  • ctags: 1,338
  • sloc: java: 10,782; xml: 139; makefile: 14
file content (24 lines) | stat: -rwxr-xr-x 721 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
#!/usr/bin/make -f
# debian/rules for jlha (uses cdbs).  
  
UPSTREAM_VERSION := $(shell dpkg-parsechangelog |\
	egrep '^Version:' | cut -f2 -\d' ' | cut -f1 -d- )

# Add here any variable or target overrides you need
  
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk
include /usr/share/cdbs/1/class/ant.mk

JAVA_HOME := /usr/lib/jvm/java-gcj
DEB_ANT_BUILDFILE := debian/build.xml
DEB_ANT_BUILD_TARGET := all

install/libjlha-java::
	install -m 644 target/jlha.jar \
		$(CURDIR)/debian/libjlha-java/usr/share/java/jlha-$(UPSTREAM_VERSION).jar
	dh_link /usr/share/java/jlha-$(UPSTREAM_VERSION).jar /usr/share/java/jlha.jar

clean::
	rm -f $(CURDIR)/gjdoc_rawcomment.cache