File: rules

package info (click to toggle)
libnetx-java 0.5-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, squeeze, stretch, wheezy
  • size: 828 kB
  • ctags: 1,210
  • sloc: java: 5,705; xml: 60; sh: 11; makefile: 10
file content (15 lines) | stat: -rwxr-xr-x 506 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

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

JAVA_HOME 		:= /usr/lib/jvm/default-java
DEB_ANT_BUILD_TARGET	:= jar javadoc
ANT_OPTS	        := -Dant.build.javac.source=1.4 -Dant.build.javac.target=1.4

install/libnetx-java::
	install -m 644 -D netx.jar $(DEB_DESTDIR)/usr/share/java/netx-$(DEB_UPSTREAM_VERSION).jar
	dh_link /usr/share/java/netx-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/netx.jar

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