[pkg-java] r3271 - trunk/cairo-java/debian

Thomas Girard tgg at alioth.debian.org
Wed Apr 18 20:47:54 UTC 2007


Author: tgg
Date: 2007-04-18 20:47:54 +0000 (Wed, 18 Apr 2007)
New Revision: 3271

Modified:
   trunk/cairo-java/debian/changelog
   trunk/cairo-java/debian/rules
Log:
do not patch/unpatch if not needed


Modified: trunk/cairo-java/debian/changelog
===================================================================
--- trunk/cairo-java/debian/changelog	2007-04-18 20:44:49 UTC (rev 3270)
+++ trunk/cairo-java/debian/changelog	2007-04-18 20:47:54 UTC (rev 3271)
@@ -4,6 +4,7 @@
   * Ensure libcairo-java-gcj is built after libcairo-java.
   * Drop patch 02_dont_install_jar.diff, it was removing jar version
     information.
+  * Ensure distclean-first: is a no-op when it's not needed.
   * Rebuild with gcj from experimental.
 
  -- Thomas Girard <thomas.g.girard at free.fr>  Wed, 18 Apr 2007 11:01:57 +0000

Modified: trunk/cairo-java/debian/rules
===================================================================
--- trunk/cairo-java/debian/rules	2007-04-18 20:44:49 UTC (rev 3270)
+++ trunk/cairo-java/debian/rules	2007-04-18 20:47:54 UTC (rev 3271)
@@ -68,5 +68,5 @@
 
 DEB_PHONY_RULES += distclean-first
 
-distclean-first: debian/stamp-patched
-	-$(DEB_MAKE_INVOKE) -k distclean
+distclean-first:
+	-test -f debian/stamp-patched && $(DEB_MAKE_INVOKE) -k distclean




More information about the pkg-java-commits mailing list