[libnb-platform-java] 01/01: Fail if binaries-list file still exists

Andrew Ross rockclimb-guest at alioth.debian.org
Sun Oct 27 15:02:49 UTC 2013


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

rockclimb-guest pushed a commit to branch master
in repository libnb-platform-java.

commit ee0f5ebfe3d0d76844e27895c60dfdbed56a180f
Author: Andrew Ross <ubuntu at rossfamily.co.uk>
Date:   Sun Oct 27 15:02:25 2013 +0000

    Fail if binaries-list file still exists
---
 debian/rules |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/debian/rules b/debian/rules
index ec013fc..72b8970 100755
--- a/debian/rules
+++ b/debian/rules
@@ -48,6 +48,8 @@ endef
 	dh $@ --with javahelper
 
 override_dh_auto_build:
+	if [ -e javahelp/external/binaries-list ]; then \
+	echo "ERROR: Make sure patches are applied before clean/build" && false;  fi
 	mkdir -p nbbuild/external/xhtml1-dtds
 	ln -sf /usr/share/xml/xhtml/schema/dtd/1.0/xhtml* nbbuild/external/xhtml1-dtds
 	ln -sf /usr/share/xml/entities/xhtml/xhtml* nbbuild/external/xhtml1-dtds
@@ -126,6 +128,8 @@ override_dh_auto_install:
 	$(INSTALL)$(libnb-platform-nbms-java)   nbbuild/nbms/* $(NB_INSTALL_DIR)/$(pkg-platform)-nbms
 
 override_dh_auto_clean:
+	if [ -e javahelp/external/binaries-list ]; then \
+	echo "ERROR: Make sure patches are applied before clean/build" && false;  fi
 	-rm -f *.cdbs-config_list
 	-rm -f stamp-build-$(libnb-platform-java)
 	-rm -f stamp-build-$(libnb-platform-devel-java)

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



More information about the pkg-java-commits mailing list