File: rules

package info (click to toggle)
dom4j 1.6.1%2Bdfsg.3-2%2Bdeb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 24,044 kB
  • sloc: xml: 29,676; java: 26,484; makefile: 16; sh: 8
file content (23 lines) | stat: -rwxr-xr-x 650 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
#!/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
DEB_JARS  := ant ant-launcher xpp2 xpp3 jaxen \
    xalan2 xercesImpl ant-junit junit junitperf xsdlib

DEB_ANT_BUILD_TARGET          := package release-javadoc
DEB_ANT_CHECK_TARGET          := test testng
DEB_DH_INSTALLCHANGELOGS_ARGS := -k
DEB_INSTALL_CHANGELOGS_ALL    := docs/changes-report.html

install/libdom4j-java::
	mh_installpom -plibdom4j-java debian/pom.xml
	mh_installjar -plibdom4j-java debian/pom.xml -l build/dom4j.jar

clean::
	mh_clean

get-orig-source:
	uscan --force-download --rename