From: Marc Fiuczynski Date: Mon, 5 Nov 2007 17:05:01 +0000 (+0000) Subject: move pldistro or release specific info into separate tags files. This is the default... X-Git-Tag: 4.2-rc2~535 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=c318029ea427c6d075004c717f8a26461a988751;p=build.git move pldistro or release specific info into separate tags files. This is the default one that points to planet-lab.org --- diff --git a/default-tags.mk b/default-tags.mk new file mode 100644 index 00000000..9d0adf1d --- /dev/null +++ b/default-tags.mk @@ -0,0 +1,21 @@ +# +# +# + +SVNPATH := https://svn.planet-lab.org/svn +TAG := trunk + + +# Check if a tag has been checked out +ifneq ($(wildcard CVS/Root),) +# Check if we are able to access CVS +CVSTAG := $(shell cvs status planetlab.mk 2>/dev/null | sed -ne 's/[[:space:]]*Sticky Tag:[[:space:]]*\([^[:space:]]*\).*/\1/p') +ifneq ($(CVSTAG),) +CVSROOT := $(shell cat CVS/Root) +ifeq ($(CVSTAG),(none)) +TAG := HEAD +else +TAG := $(CVSTAG) +endif +endif +endif