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
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/ant.mk
JAVA_HOME := /usr/lib/jvm/default-java
# Additional JARs to add to the class path, either full path or just the
# basename for JARs in /usr/share/java. The ".jar" suffix may also be ommitted
DEB_JARS := commons-digester commons-logging junit
# Ant targets to call
DEB_ANT_BUILD_TARGET := dist
DEB_ANT_CHECK_TARGET := test
LIBRARY_PACKAGE := commons-modeler
install/lib$(LIBRARY_PACKAGE)-java::
mh_installpoms -plib$(LIBRARY_PACKAGE)-java -e$(DEB_UPSTREAM_VERSION)
mh_installjar -plib$(LIBRARY_PACKAGE)-java -e$(DEB_UPSTREAM_VERSION) \
-l debian/pom.xml dist/commons-modeler.jar
clean::
mh_clean
|