[SCM] leiningen packaging branch, master, updated. d4ad0a5848387011133e4adb185889affeaa9d93

Wolodja Wentland babilen-guest at alioth.debian.org
Fri Aug 5 10:54:16 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 "leiningen packaging".

The branch, master has been updated
       via  d4ad0a5848387011133e4adb185889affeaa9d93 (commit)
      from  3b2453d3a503df03a2b8c286b286d31ed49ec47f (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 d4ad0a5848387011133e4adb185889affeaa9d93
Author: Wolodja Wentland <babilen at gmail.com>
Date:   Fri Aug 5 11:49:43 2011 +0100

    Fix debian/rules clean target
    
    debian/rules clean failed when lancet.jar is not present, which is the case if
    clean is called before a build.

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

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

diff --git a/debian/rules b/debian/rules
index 6d55263..4be38fe 100755
--- a/debian/rules
+++ b/debian/rules
@@ -24,7 +24,9 @@ override_jh_build: $(MDWN_DOCS)
 
 override_jh_clean:
 	jh_clean
-	LEIN_ROOT=y CLASSPATH=$(CURDIR)/lancet.jar bin/lein clean
+	if [ -f $(CURDIR)/lancet.jar ] ; then \
+	  LEIN_ROOT=y CLASSPATH=$(CURDIR)/lancet.jar bin/lein clean; \
+	fi
 	rm -f $(CURDIR)/lancet.jar
 	rm -rf $(CURDIR)/doc/html
 


hooks/post-receive
-- 
leiningen packaging



More information about the pkg-java-commits mailing list