[pentaho-reporting-flow-engine] 06/09: modernize debian/rules
Tony Mancill
tmancill at moszumanska.debian.org
Fri Apr 14 03:30:53 UTC 2017
This is an automated email from the git hooks/post-receive script.
tmancill pushed a commit to branch master
in repository pentaho-reporting-flow-engine.
commit ded44cd668c74fff7a0494627dfc05373802e532
Author: tony mancill <tmancill at debian.org>
Date: Mon Apr 10 21:08:13 2017 -0700
modernize debian/rules
---
debian/rules | 48 ++++++------------------------------------------
1 file changed, 6 insertions(+), 42 deletions(-)
diff --git a/debian/rules b/debian/rules
index 187ba87..6c699a0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,58 +15,22 @@ export SRCDIR=$(CURDIR)
export LIBRARY=flow-engine
export VERSION=0.9.4
-configure: configure-stamp
-configure-stamp: patch-stamp
- dh_testdir
- touch configure-stamp
+%:
+ dh $@
-
-build: configure build-stamp
-build-stamp:
- dh_testdir
-
+override_dh_auto_build:
if [ ! -d lib ]; then mkdir lib; fi
ant jar
ant javadoc
-
- touch build-stamp
-clean: unpatch
- dh_testdir
- dh_testroot
- -rm -f build-stamp
- -rm -f configure-stamp
+override_dh_auto_clean:
+ dh_auto_clean
rm -f $(LIBRARY)-$(VERSION).jar
rm -rf build
- dh_clean
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
-
+override_dh_auto_install:
install -m 644 build/lib/flow-engine.jar \
debian/libpentaho-reporting-flow-engine-java/usr/share/java/$(LIBRARY)-$(VERSION).jar
ln -s $(LIBRARY)-$(VERSION).jar debian/libpentaho-reporting-flow-engine-java/usr/share/java/$(LIBRARY).jar
jh_classpath -plibpentaho-reporting-flow-engine-java --classpath="/usr/share/java/jcommon.jar /usr/share/java/itext.jar /usr/share/java/poi.jar /usr/share/java/libserializer.java /usr/share/java/libformula.jar /usr/share/java/flute.jar /usr/share/java/libfonts.jar /usr/share/java/liblayout.jar /usr/share/java/libloader.jar /usr/share/java/libxml.jar /usr/share/java/sac.jar /usr/share/java/librepository.jar /usr/share/java/sac.jar" debian/libpentaho-reporting-flow-engine-java/usr/share/j [...]
jh_depends
-
-binary-indep: build install
- dh_testdir
- dh_testroot
- dh_installdocs
- dh_installexamples
- dh_installchangelogs
- dh_link
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary-arch: build install
-binary: binary-indep binary-arch
-
-.PHONY: binary binary-indep clean
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/pentaho-reporting-flow-engine.git
More information about the pkg-java-commits
mailing list