[Commits] (vajda) - added support for moving release|debug to wherever by setting CHANDLERBIN

commits at osafoundation.org commits at osafoundation.org
Tue Aug 24 16:57:03 PDT 2004


Commit by: vajda
Modified files:
chandler/Makefile 1.34 1.35

Log message:
 - added support for moving release|debug to wherever by setting CHANDLERBIN


ViewCVS links:
http://cvs.osafoundation.org/index.cgi/chandler/Makefile.diff?r1=text&tr1=1.34&r2=text&tr2=1.35

Index: chandler/Makefile
diff -u chandler/Makefile:1.34 chandler/Makefile:1.35
--- chandler/Makefile:1.34	Tue Aug 24 12:27:40 2004
+++ chandler/Makefile	Tue Aug 24 16:57:01 2004
@@ -1,14 +1,21 @@
 
 # This Makefile requires cygwin on Windows
 # It should *not* be made to depend on external/internal
-# When a version changes, the ARCHIVES list below needs to be updated.
+# When a version changes, the ARCHIVES lists below needs to be updated.
 #
-ARCHIVES=../$(SNAP)-0.3-14.tar.gz \
-         ../wxPython-$(SNAP)-2.5-4.tar.gz \
-         ../UUIDext-$(SNAP)-0.3-2.tar.gz \
-         ../m2crypto-$(SNAP)-0.12-1.tar.gz \
-         ../QueryParser-$(SNAP)-0.1-2.tar.gz \
-         ../Launchers-$(SNAP)-0.3-4.tar.gz
+
+# these get installed into release or debug
+BIN_ARCHIVES=../$(SNAP)-0.3-14.tar.gz \
+             ../wxPython-$(SNAP)-2.5-4.tar.gz \
+             ../UUIDext-$(SNAP)-0.3-2.tar.gz \
+             ../m2crypto-$(SNAP)-0.12-1.tar.gz \
+             ../Launchers-$(SNAP)-0.3-4.tar.gz
+
+# these get installed into chandler
+HOME_ARCHIVES=../QueryParser-$(SNAP)-0.1-2.tar.gz
+
+ARCHIVES = $(BIN_ARCHIVES) $(HOME_ARCHIVES)
+
 
 OS=$(shell uname)
 
@@ -40,6 +47,14 @@
 endif
 endif
 
+ifeq ($(CHANDLERHOME),)
+CHANDLERHOME=.
+endif
+
+ifeq ($(CHANDLERBIN),)
+CHANDLERBIN=$(CHANDLERHOME)
+endif
+
 HOST=builds.osafoundation.org
 URL=http://$(HOST)/external/$(PLATFORM)
 
@@ -52,8 +67,11 @@
 $(ARCHIVES):
 	curl -o $@ $(URL)/$(notdir $@)
 
-$(notdir $(ARCHIVES)):
-	tar -C ../chandler -xvzf ../$@
+$(notdir $(BIN_ARCHIVES)):
+	tar -C $(CHANDLERBIN) -xvzf ../$@
+
+$(notdir $(HOME_ARCHIVES)):
+	tar -C $(CHANDLERHOME) -xvzf ../$@
 
 checkout:
 	cd ..; \



More information about the Commits mailing list