[Pkg-samba-maint] r1870 - trunk/ldb/debian

ctrlsoft-guest at alioth.debian.org ctrlsoft-guest at alioth.debian.org
Mon May 19 23:35:57 UTC 2008


Author: ctrlsoft-guest
Date: 2008-05-19 23:35:57 +0000 (Mon, 19 May 2008)
New Revision: 1870

Modified:
   trunk/ldb/debian/build-orig.sh
   trunk/ldb/debian/rules
Log:
Make arguments to build-orig.sh optional, add get-orig-source make target.

Modified: trunk/ldb/debian/build-orig.sh
===================================================================
--- trunk/ldb/debian/build-orig.sh	2008-05-12 21:14:25 UTC (rev 1869)
+++ trunk/ldb/debian/build-orig.sh	2008-05-19 23:35:57 UTC (rev 1870)
@@ -1,11 +1,10 @@
 #!/bin/bash
-GIT_URL=$1
-REFSPEC=$2
+REFSPEC=$1
+GIT_URL=$2
 shift 2
 
 if [ -z "$GIT_URL" ]; then
-	echo "Usage: $0 <samba4-git-url> [<refspec>]"
-	exit 1
+	GIT_URL=git://git.samba.org/samba.git
 fi
 
 LDBTMP=$TMPDIR/$RANDOM.ldb.git

Modified: trunk/ldb/debian/rules
===================================================================
--- trunk/ldb/debian/rules	2008-05-12 21:14:25 UTC (rev 1869)
+++ trunk/ldb/debian/rules	2008-05-19 23:35:57 UTC (rev 1870)
@@ -20,6 +20,9 @@
 	CFLAGS="$(CFLAGS)" ./configure --prefix=/usr --with-ldap=no
 	touch configure-stamp
 
+get-orig-source:
+	sh debian/build-orig.sh
+
 build: configure build-stamp
 build-stamp:
 	dh_testdir




More information about the Pkg-samba-maint mailing list