------------------------------------------------------------
revno: 1461
committer: Rene Engelhard <r...@debian.org>
branch nick: experimental
timestamp: Mon 2009-03-23 13:00:36 +0100
message:
  readd branch handling
modified:
  rules
=== modified file 'rules'
--- a/rules     2009-03-23 10:37:12 +0000
+++ b/rules     2009-03-23 12:00:36 +0000
@@ -66,6 +66,7 @@
 #MILESTONE=m9
 TAG=$(shell echo $(MWS) | tr A-Z a-z)-$(MILESTONE)
 #TAG=$(MWS)_$(MILESTONE)
+#OOO_BUILD_BRANCH=ooo-build-3-1
 SOURCE_TREE=ooo-build/build/$(TAG)
 STAMP_DIR=debian/stampdir
 
@@ -3202,6 +3203,11 @@
 # Get ooo-build
 get-ooo-build:
        git clone git://anongit.freedesktop.org/git/ooo-build/ooo-build
+ifneq "$(OOO_BUILD_BRANCH)" ""
+       cd ooo-build && \
+               git checkout -b $(OOO_BUILD_BRANCH) origin/$(OOO_BUILD_BRANCH) 
&& \
+               git checkout $(OOO_BUILD_BRANCH)
+endif
        cd ooo-build && NOCONFIGURE=1 ./autogen.sh
 
 # FIXME: works for milestones *AND* for a --with-split build only...

Reply via email to