[SCM] UNNAMED PROJECT branch, master, updated. 0.31-65-g10eda07

Niels Thykier nthykier at alioth.debian.org
Sat Apr 16 08:19:44 UTC 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "UNNAMED PROJECT".

The branch, master has been updated
       via  10eda07c40d8f857360a15fdeadf847b01994785 (commit)
      from  06bfd192ff2c7d640cf81d13dd06d2303ec8c54b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 10eda07c40d8f857360a15fdeadf847b01994785
Author: Niels Thykier <niels at thykier.net>
Date:   Sat Apr 16 10:16:22 2011 +0200

    Added a runtests target to run the tests without building the pkg

-----------------------------------------------------------------------

Summary of changes:
 debian/rules |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/debian/rules b/debian/rules
index 983ae36..74a6c82 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,8 +9,10 @@ MOD_PATH:=lib/Debian/Javahelper
 %:
 	dh $@
 
-override_dh_auto_build:
-	sed 's,%JAVATOOLS_VERSION%,${VERSION},' < jh_lib.sh.in > jh_lib.sh
+jh_lib.sh: jh_lib.sh.in
+	sed 's,%JAVATOOLS_VERSION%,${VERSION},' < $< > $@
+
+override_dh_auto_build: jh_lib.sh
 	mkdir tmp tmp.jarwrapper
 	# javahelper pod-based manpages
 	$(POD2MAN) jh_installeclipse tmp/jh_installeclipse.1
@@ -30,9 +32,11 @@ override_dh_auto_build:
 	markdown --html4tags tutorial.txt | \
 		cat tutorial-header.html - tutorial-footer.html > tutorial.html
 
-override_dh_auto_test:
+runtests: jh_lib.sh
 	cd tests && ./tests.sh
 
+override_dh_auto_test: runtests
+
 override_dh_auto_clean:
 	rm -f jh_lib.sh tutorial.html
 	rm -fr tmp tmp.jarwrapper


hooks/post-receive
-- 
UNNAMED PROJECT



More information about the pkg-java-commits mailing list