[Pkg-voip-commits] r6382 - in /tools/builder: Makefile builder

tzafrir-guest at alioth.debian.org tzafrir-guest at alioth.debian.org
Mon Nov 3 09:36:21 UTC 2008


Author: tzafrir-guest
Date: Mon Nov  3 09:36:21 2008
New Revision: 6382

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=6382
Log:
builder: allow setting the sources spec from the Makefile.

Modified:
    tools/builder/Makefile
    tools/builder/builder

Modified: tools/builder/Makefile
URL: http://svn.debian.org/wsvn/pkg-voip/tools/builder/Makefile?rev=6382&op=diff
==============================================================================
--- tools/builder/Makefile (original)
+++ tools/builder/Makefile Mon Nov  3 09:36:21 2008
@@ -37,6 +37,7 @@
 export TARBALLS_DIR	= $(PWD)/tarballs
 
 export BUILD_AREA	= build-area
+export SOURCES_SPEC	= sources
 PBUILDERRC		= pbuilderrc-$(ARCH)-$(DISTRO)
 
 MIRROR_HTTP		= http://ftp.de.debian.org/debian

Modified: tools/builder/builder
URL: http://svn.debian.org/wsvn/pkg-voip/tools/builder/builder?rev=6382&op=diff
==============================================================================
--- tools/builder/builder (original)
+++ tools/builder/builder Mon Nov  3 09:36:21 2008
@@ -15,6 +15,8 @@
 # LOCAL_REPO
 # LOCAL_DISTRO
 # TARBALLS_DIR
+# SOURCES_SPEC
+SOURCES_FILE=${SOURCES_SPEC:-sources}
 REPREPRO="reprepro -b $LOCAL_REPO"
 
 say() {
@@ -31,7 +33,7 @@
 		"s/[0-9]*\$/(\$&-1).'.'.$new_rev/e"
 }
 
-egrep $packages_filter sources | while read package repo branch rev args
+egrep $packages_filter "$SOURCES_SPEC" | while read package repo branch rev args
 do
   if [ "$package" = 'quit' ]; then 
     say "echo Stopping build due to 'quit'"




More information about the Pkg-voip-commits mailing list