File: rules

package info (click to toggle)
libjlatexmath-java 1.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 4,036 kB
  • ctags: 2,308
  • sloc: xml: 21,229; java: 13,103; makefile: 13; sh: 12
file content (20 lines) | stat: -rwxr-xr-x 999 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f
# debian/rules for libjlatexmath-java (uses CDBS)

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

DEB_ANT_BUILD_TARGET := buildJar plugin doc 
BUILDDIR=dist
JAVA_HOME := /usr/lib/jvm/default-java
ANT_PROPS=debian/ant.properties

install/libjlatexmath-java::
	install -m 644 -D $(BUILDDIR)/jlatexmath-$(DEB_UPSTREAM_VERSION).jar debian/libjlatexmath-java/usr/share/java/jlatexmath-$(DEB_UPSTREAM_VERSION).jar
	ln -s jlatexmath-$(DEB_UPSTREAM_VERSION).jar debian/libjlatexmath-java/usr/share/java/jlatexmath.jar


install/libjlatexmath-fop-java::
	install -m 644 -D $(BUILDDIR)/jlatexmath-fop-$(DEB_UPSTREAM_VERSION).jar debian/libjlatexmath-fop-java/usr/share/java/jlatexmath-fop-$(DEB_UPSTREAM_VERSION).jar
	ln -s jlatexmath-fop-$(DEB_UPSTREAM_VERSION).jar debian/libjlatexmath-fop-java/usr/share/java/jlatexmath-plugin-fop.jar
	ln -s jlatexmath-fop-$(DEB_UPSTREAM_VERSION).jar debian/libjlatexmath-fop-java/usr/share/java/jlatexmath-fop.jar