[go: up one dir, main page]

File: rules

package info (click to toggle)
commons-io 1.4-3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,760 kB
  • ctags: 2,022
  • sloc: java: 14,608; xml: 2,302; makefile: 14; sh: 13
file content (21 lines) | stat: -rwxr-xr-x 583 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

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
# no junit at the moment
DEB_JARS := #junit ant-junit
DEB_ANT_BUILD_TARGET := jar javadoc

binary-post-install/lib$(PACKAGE)-java::
	mh_installpoms -plib$(PACKAGE)-java
	mh_installjar -plib$(PACKAGE)-java -l pom.xml target/$(PACKAGE)-$(VERSION).jar

clean::
	-rm -rf debian/tmp

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