File: rules

package info (click to toggle)
jodreports 2.4.0-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 908 kB
  • ctags: 384
  • sloc: java: 2,293; xml: 836; jsp: 41; makefile: 12; sh: 4
file content (19 lines) | stat: -rwxr-xr-x 811 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

JAVACLASSES=/usr/share/java
JAVA_HOME=/usr/lib/jvm/default-java
export CLASSPATH=$(JAVACLASSES)/jaxen.jar:$(JAVACLASSES)/junit.jar:$(JAVACLASSES)/commons-logging.jar:$(JAVACLASSES)/xom.jar:$(JAVACLASSES)/commons-io.jar:$(JAVACLASSES)/freemarker.jar:$(JAVACLASSES)/slf4j-api.jar:$(JAVACLASSES)/slf4j-simple.jar:./jodreports-2.4.0.jar:$(JAVACLASSES)/jodreports-2.4.0.jar

create-example:
	# requires gzip and create the jodreports-wepapp as an example for libjodreports-java
	set -e; gzip -r -c jodreports-webapp/ > jodreports-webapp.gz;

%:
		dh $@ --with javahelper

override_dh_link:
	dh_link -i

override_jh_build: create-example
	jh_build jodreports-2.4.0.jar jodreports/src/main/java
	jh_build -mnet.sf.jodreports.cli.CreateDocument jodreports-cli-2.4.0.jar jodreports-cli/src/main/java