File: rules

package info (click to toggle)
libcommons-codec-java 1.9-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,356 kB
  • ctags: 1,769
  • sloc: java: 16,154; xml: 1,686; makefile: 16; sh: 1
file content (24 lines) | stat: -rwxr-xr-x 718 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
# 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

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