File: rules

package info (click to toggle)
libformula 1.1.7.dfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, sid, stretch, wheezy
  • size: 3,208 kB
  • ctags: 2,984
  • sloc: java: 17,370; xml: 1,541; makefile: 25
file content (36 lines) | stat: -rwxr-xr-x 1,410 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
25
26
27
28
29
30
31
32
33
34
35
36
#!/usr/bin/make -f
# debian/rules file for libfonts-java (uses cdbs)

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


JAVA_HOME := /usr/lib/jvm/default-java
DEB_JARS := $(ANT_HOME)/lib/ant-launcher.jar $(ANT_HOME)/lib/ant-nodeps.jar jcommon libbase commons-logging junit ant-contrib ant-junit
DEB_ANT_BUILD_TARGET := compile-jj compile jar javadoc
DEB_ANT_CHECK_TARGET := test

DEB_UPSTREAM_VERSION := 1.1-SNAPSHOT

clean::
	-rm -rf build
	-rm -rf javadoc
	-rm -f libformula-$(DEB_UPSTREAM_VERSION).jar
	# don't use them, go sure
	-rm -f lib/* lib/optional/* test-lib/*
	for i in TokenMgrError.java ParseException.java Token.java JavaCharStream.java \
		GeneratedFormulaParser.java GeneratedFormulaParserConstants.java \
		GeneratedFormulaParserTokenManager.java; do \
		rm -f source/org/pentaho/reporting/libraries/formula/parser/$$i; \
	done

install/libformula-java::
	install -m 644 dist/libformula-$(DEB_UPSTREAM_VERSION).jar debian/libformula-java/usr/share/java/libformula-$(DEB_UPSTREAM_VERSION).jar
	ln -s libformula-$(DEB_UPSTREAM_VERSION).jar debian/libformula-java/usr/share/java/libformula.jar
	jh_classpath -plibformula-java --classpath="/usr/share/java/jcommon.jar" debian/libformula-java/usr/share/java/libformula-$(DEB_UPSTREAM_VERSION).jar
	jh_depends

install/libformula-java-doc::
	jh_installjavadoc