File: rules

package info (click to toggle)
libcommons-modeler-java 2.0.1-7
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 800 kB
  • ctags: 843
  • sloc: java: 5,961; xml: 1,425; makefile: 13
file content (24 lines) | stat: -rwxr-xr-x 720 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

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