File: rules

package info (click to toggle)
libcommons-digester-java 1.8.1-4
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 2,232 kB
  • ctags: 2,284
  • sloc: java: 12,455; xml: 2,027; makefile: 17; sh: 13
file content (28 lines) | stat: -rwxr-xr-x 998 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
25
26
27
28
#!/usr/bin/make -f
# debian/rules file for libcommons-digester-java (uses cdbs)

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

PACKAGE              := $(DEB_SOURCE_PACKAGE)
VERSION              := $(DEB_UPSTREAM_VERSION)
JAVA_HOME            := /usr/lib/jvm/default-java
DEB_ANT_ARGS         := -Djavax.xml.transform.TransformerFactory=gnu.xml.libxmlj.transform.TransformerFactoryImpl -Dtest.failonerror=false
# 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-collections3 commons-logging commons-beanutils junit ant-junit

DEB_ANT_BUILD_TARGET := dist

DEB_INSTALL_CHANGELOGS_ALL := RELEASE-NOTES.txt

binary-post-install/$(PACKAGE)::
	mh_installpoms -p$(PACKAGE)
	mh_installjar -p$(PACKAGE) -l pom.xml dist/commons-digester.jar

clean::
	mh_clean
	-rm -rf debian/tmp

get-orig-source:
	-uscan --upstream-version 0 --rename