File: rules

package info (click to toggle)
libcommons-codec-java 1.10-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,492 kB
  • ctags: 1,952
  • sloc: java: 17,267; xml: 1,709; makefile: 17; sh: 1
file content (25 lines) | stat: -rwxr-xr-x 777 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
#!/usr/bin/make -f
# debian/rules for libcommons-codec-java

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_JARS                   := ant-nodeps junit4 ant-junit4 ant-junit
DEB_ANT_BUILD_TARGET       := dist
DEB_ANT_CHECK_TARGET       := test
DEB_INSTALL_CHANGELOGS_ALL := RELEASE-NOTES.txt
DEB_ANT_ARGS = -Dcomponent.version=$(DEB_UPSTREAM_VERSION)

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

clean::
	mh_clean

get-orig-source:
	-uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename