1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
#!/usr/bin/make -f
# debian/rules file for libpixie-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
ANT_HOME := /usr/share/ant
DEB_JARS := $(ANT_HOME)/lib/ant-launcher.jar jcommon
DEB_ANT_BUILDFILE := build.xml
DEB_ANT_BUILD_TARGET := compile javadoc
clean::
-rm -rf build
-rm -rf javadoc
-rm -f pixie-$(DEB_UPSTREAM_VERSION).jar lib/*
install/libpixie-java::
install -m 644 pixie-$(DEB_UPSTREAM_VERSION).jar debian/libpixie-java/usr/share/java/pixie-$(DEB_UPSTREAM_VERSION).jar
ln -s pixie-$(DEB_UPSTREAM_VERSION).jar debian/libpixie-java/usr/share/java/pixie.jar
|