[Pkg-samba-maint] r2184 - trunk/ctdb/debian

mparent-guest at alioth.debian.org mparent-guest at alioth.debian.org
Sun Oct 5 11:50:59 UTC 2008


Author: mparent-guest
Date: 2008-10-05 11:50:59 +0000 (Sun, 05 Oct 2008)
New Revision: 2184

Modified:
   trunk/ctdb/debian/changelog
   trunk/ctdb/debian/rules
Log:
debian/rules: added check-external-libs to check orig tarball for popt



Modified: trunk/ctdb/debian/changelog
===================================================================
--- trunk/ctdb/debian/changelog	2008-10-05 11:37:30 UTC (rev 2183)
+++ trunk/ctdb/debian/changelog	2008-10-05 11:50:59 UTC (rev 2184)
@@ -10,8 +10,9 @@
   * 02_ctdb_diagnostics.diff: keep rpm queries
   * refreshed all patches
   * 30_ctdb_log.diff: updated to prepare upstream inclusion
+  * debian/rules: added check-external-libs to check orig tarball for popt 
 
- -- Mathieu Parent <math.parent at gmail.com>  Sun, 05 Oct 2008 13:12:35 +0200
+ -- Mathieu Parent <math.parent at gmail.com>  Sun, 05 Oct 2008 13:49:35 +0200
 
 ctdb (1.0.47+git200807111148-1) unstable; urgency=low
 

Modified: trunk/ctdb/debian/rules
===================================================================
--- trunk/ctdb/debian/rules	2008-10-05 11:37:30 UTC (rev 2183)
+++ trunk/ctdb/debian/rules	2008-10-05 11:50:59 UTC (rev 2184)
@@ -42,7 +42,7 @@
 	touch configure-stamp
 
 #Architecture 
-build: build-arch build-indep
+build: check-external-libs build-arch build-indep
 
 build-arch: build-arch-stamp
 build-arch-stamp: patch configure-stamp
@@ -120,4 +120,17 @@
 
 binary: binary-arch binary-indep
 
+check-external-libs:
+	if [ -e lib/popt ]; then \
+              echo " *****************************************"; \
+	      echo " **                                     **"; \
+	      echo " **  tar contains external libraries!   **"; \
+	      echo " **                                     **"; \
+              echo " *****************************************"; \
+	      echo "The tarball should be made by using uscan or"; \
+	      echo "debian/uupdate-wrapper"; \
+	      echo ""; \
+	      exit 1; \
+        fi
+
 .PHONY: build clean binary-indep binary-arch binary install install-indep install-arch configure patch unpatch




More information about the Pkg-samba-maint mailing list