[eclipse-pydev] 14/19: build.xml confuses dh, so move it aside

Jakub Adam xhaakon-guest at moszumanska.debian.org
Fri Nov 22 08:31:54 UTC 2013


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

xhaakon-guest pushed a commit to branch master
in repository eclipse-pydev.

commit 3846e57197750bbc95fa1277e51fe21636ed4db1
Author: Jakub Adam <jakub.adam at ktknet.cz>
Date:   Fri Nov 22 08:30:31 2013 +0100

    build.xml confuses dh, so move it aside
---
 debian/rules |   10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/debian/rules b/debian/rules
index dbde72d..90996fb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,10 @@
 export JAVA_HOME:=/usr/lib/jvm/default-java
 
 %:
+	# build.xml confuses dh, so move it aside
+	if [ -f build.xml ]; then \
+		mv build.xml build.xml.unused; \
+	fi
 	dh $@ --with eclipse-helper
 
 override_dh_link:
@@ -10,5 +14,11 @@ override_dh_link:
 	dh_link -peclipse-pydev /usr/share/jython/Lib \
 		/usr/share/eclipse/dropins/pydev/eclipse/plugins/$$JYTHON_BUNDLE/Lib
 
+override_dh_auto_clean:
+	dh_auto_clean
+	if [ -f build.xml.unused ]; then \
+		mv build.xml.unused build.xml; \
+	fi
+
 get-orig-source:
 	debian/fetch-pydev.sh

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



More information about the pkg-java-commits mailing list