[pkg-horde] [SCM] Debian Horde Packages repository: imp4 package branch, debian-sid, updated. 0de570ee3c69a96c5f4043906053a8826dc7c4fc
Mathieu Parent
math.parent at gmail.com
Sun Dec 20 16:17:01 UTC 2009
The following commit has been merged in the debian-sid branch:
commit 8131d006b82af6ea00509528134515054fd75457
Author: Mathieu Parent <math.parent at gmail.com>
Date: Sun Dec 20 17:13:08 2009 +0100
make sure that external libs are not in the orig.tar.gz
diff --git a/debian/changelog b/debian/changelog
index b448740..10f3cd1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
imp4 (4.6.6+debian0-1) UNRELEASED; urgency=low
* New upstream release.
+ * Added a check in debian/rules to make sure that external libs are not
+ in the orig.tar.gz
-- Mathieu Parent <sathieu at debian.org> Sun, 20 Dec 2009 17:08:58 +0100
diff --git a/debian/rules b/debian/rules
index b162d3f..585fa6c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,7 +11,7 @@ configure-stamp:
dh_testdir
touch configure-stamp
-build: build-stamp
+build: check-external-libs build-stamp
build-stamp: configure-stamp
dh_testdir
@@ -111,5 +111,21 @@ binary-indep: build install
dh_md5sums
dh_builddeb
+check-external-libs:
+ if [ -e js/builder.js ] || [ -e js/src/builder.js ] || \
+ [ -e js/controls.js ] || [ -e js/src/controls.js ] || \
+ [ -e js/dragdrop.js ] || [ -e js/src/dragdrop.js ] || \
+ [ -e js/effects.js ] || [ -e js/src/effects.js ] || \
+ [ -e js/prototype.js ] || [ -e js/src/prototype.js ] || \
+ [ -e js/scriptaculous.js ] || [ -e js/src/scriptaculous.js ] || \
+ [ -e js/slider.js ] || [ -e js/src/slider.js ]; then \
+ echo ""; \
+ echo " ** **"; \
+ echo " ** tar contains external files! **"; \
+ echo " ** **"; \
+ echo ""; \
+ exit 1; \
+ fi
+
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure
--
Debian Horde Packages repository: imp4 package
More information about the pkg-horde-hackers
mailing list