[Commits] (vajda) changed install target so that it won't installed
already installed archives
commits at osafoundation.org
commits at osafoundation.org
Thu Aug 26 18:10:53 PDT 2004
Commit by: vajda
Modified files:
chandler/.cvsignore 1.14 1.15
chandler/Makefile 1.39 1.40
Log message:
changed install target so that it won't installed already installed archives
ViewCVS links:
http://cvs.osafoundation.org/index.cgi/chandler/.cvsignore.diff?r1=text&tr1=1.14&r2=text&tr2=1.15
http://cvs.osafoundation.org/index.cgi/chandler/Makefile.diff?r1=text&tr1=1.39&r2=text&tr2=1.40
Index: chandler/Makefile
diff -u chandler/Makefile:1.39 chandler/Makefile:1.40
--- chandler/Makefile:1.39 Thu Aug 26 15:09:09 2004
+++ chandler/Makefile Thu Aug 26 18:10:52 2004
@@ -58,7 +58,7 @@
HOST=builds.osafoundation.org
URL=http://$(HOST)/external/$(PLATFORM)
-.PHONY: install $(notdir $(ARCHIVES))
+.PHONY: default install clean realclean downloads
default: install
@@ -67,11 +67,13 @@
$(ARCHIVES):
curl -o $@ $(URL)/$(notdir $@)
-$(notdir $(BIN_ARCHIVES)):
- tar -C $(CHANDLERBIN) -xvzf ../$@
-
-$(notdir $(HOME_ARCHIVES)):
- tar -C $(CHANDLERHOME) -xvzf ../$@
+$(addsuffix .installed, $(notdir $(BIN_ARCHIVES))):
+ tar -C $(CHANDLERBIN) -xvzf ../$(basename $@)
+ touch $@
+
+$(addsuffix .installed, $(notdir $(HOME_ARCHIVES))):
+ tar -C $(CHANDLERHOME) -xvzf ../$(basename $@)
+ touch $@
checkout:
cd ..; \
@@ -79,13 +81,13 @@
cvs co chandler-python 2>&1 | tee -a cvsco.log; \
echo 'Do |grep "^C " ../cvsco.log| to check for potential conflicts'
-install: $(ARCHIVES) $(notdir $(ARCHIVES))
+install: $(ARCHIVES) $(addsuffix .installed, $(notdir $(ARCHIVES)))
clean:
rm -rf $(CHANDLERBIN)/$(SNAP) __repository__
+ rm -f $(addsuffix .installed, $(notdir $(ARCHIVES)))
rm -f chandler.log randpool.dat
realclean: clean
rm -f $(ARCHIVES)
rm -fr $(CHANDLERBIN)/debug $(CHANDLERBIN)/release
-
Index: chandler/.cvsignore
diff -u chandler/.cvsignore:1.14 chandler/.cvsignore:1.15
--- chandler/.cvsignore:1.14 Wed Jun 23 11:24:30 2004
+++ chandler/.cvsignore Thu Aug 26 18:10:52 2004
@@ -7,3 +7,4 @@
debug
release
randpool.dat
+*.installed
More information about the Commits
mailing list