File: rules

package info (click to toggle)
werken.xpath 0.9.4-15
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, sid, stretch
  • size: 2,576 kB
  • ctags: 1,927
  • sloc: java: 3,115; xml: 1,144; sh: 31; makefile: 13
file content (21 lines) | stat: -rwxr-xr-x 651 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
#!/usr/bin/make -f
# debian/rules file for werken.xpath (uses cdbs)

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/ant.mk

JAVA_HOME := /usr/lib/jvm/default-java

DEB_JARS := $(ANT_HOME)/lib/ant-launcher.jar jdom1 xercesImpl antlrall

DEB_ANT_CLEAN_TARGET := clean
DEB_ANT_BUILD_TARGET := package javadoc
DEB_ANT_ARGS         := -Dant.build.javac.source=1.6 -Dant.build.javac.target=1.6

install/libwerken.xpath-java::
	mh_installpoms -plibwerken.xpath-java -e$(DEB_UPSTREAM_VERSION)
	mh_installjar -plibwerken.xpath-java -e$(DEB_UPSTREAM_VERSION) -l \
          debian/pom.xml build/werken.xpath.jar

clean::
	mh_clean