[jabref] 121/459: debian/rules: re-arrange targets and their dependencies.

gregor herrmann gregoa at debian.org
Thu Sep 15 20:39:58 UTC 2016


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository jabref.

commit 0d2f5adacbf51e8a1d35027b71ef80cdedace4d5
Author: gregor herrmann <gregoa at debian.org>
Date:   Fri Nov 16 17:35:21 2007 +0000

    debian/rules: re-arrange targets and their dependencies.
---
 debian/changelog |  1 +
 debian/rules     | 15 ++++++++-------
 2 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index ab6c137..4fac31d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ jabref (2.3-2) UNRELEASED; urgency=low
     Debian yet but helps Ubuntu users.
   * Reformat wrapper script.
   * TODO: add dependency on icedtea-java7-jre (not yet in Debian).
+  * debian/rules: re-arrange targets and their dependencies.
 
  -- gregor herrmann <gregor+debian at comodo.priv.at>  Fri, 16 Nov 2007 18:00:07 +0100
 
diff --git a/debian/rules b/debian/rules
index 05ace81..e69b2de 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,31 +12,32 @@
 include /usr/share/dpatch/dpatch.make
 
 configure: configure-stamp
-configure-stamp:
+configure-stamp: patch
 	dh_testdir
 	touch configure-stamp
 
-build: build-stamp patch
+build: build-stamp
+build-stamp: configure-stamp
+	dh_testdir
 	ant jars
 	convert -geometry 32x32 src/images/JabRef-icon-48.png build/jabref32.xpm
 	convert -geometry 16x16 src/images/JabRef-icon-48.png build/jabref16.xpm
-
-build-stamp: configure-stamp 
-	dh_testdir
 	touch build-stamp
 
 clean: unpatch
 	dh_testdir
 	dh_testroot
-	rm -f build-stamp configure-stamp
+	rm -f *-stamp
 	ant clean
 	dh_clean 
 
-install: build
+install: install-stamp
+install-stamp: build-stamp
 	dh_testdir
 	dh_testroot
 	dh_clean 
 	dh_installdirs
+	touch install-stamp
                                                         
 # Build architecture-independent files here.
 binary-indep: build install

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jabref.git



More information about the pkg-java-commits mailing list