File: rules

package info (click to toggle)
dumbster 1.6%2Bdebian-2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch, wheezy
  • size: 208 kB
  • ctags: 174
  • sloc: java: 714; xml: 93; makefile: 11; sh: 6
file content (24 lines) | stat: -rwxr-xr-x 614 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

export DESTDIR=debian/libdumbster-java

# Add here any variable or target overrides you need.

# Set either a single (JAVA_HOME) or multiple (JAVA_HOME_DIRS) java locations
JAVA_HOME = /usr/lib/jvm/default-java/

DEB_JARS := /usr/share/java/ant-junit.jar

# override build and clean target
DEB_ANT_BUILD_TARGET = compile 
DEB_ANT_CLEAN_TARGET = clean

# i want install and test rules to be run
DEB_ANT_INSTALL_TARGET = jar javadoc
DEB_ANT_CHECK_TARGET = test

get-orig-source:
	bash debian/get_orig_source.sh