File: rules

package info (click to toggle)
jline 1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, sid, stretch, wheezy
  • size: 804 kB
  • ctags: 680
  • sloc: java: 3,419; xml: 787; ansic: 42; makefile: 19; sh: 13
file content (24 lines) | stat: -rwxr-xr-x 619 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

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 		     := junit
DEB_ANT_BUILDFILE	 := debian/build.xml
DEB_ANT_BUILD_TARGET := jar javadoc

DEB_INSTALL_EXAMPLES_libjline-java-doc = jline-demo.jar

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

clean::
	-rm -rf debian/tmp

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