From c318029ea427c6d075004c717f8a26461a988751 Mon Sep 17 00:00:00 2001 From: Marc Fiuczynski Date: Mon, 5 Nov 2007 17:05:01 +0000 Subject: [PATCH] move pldistro or release specific info into separate tags files. This is the default one that points to planet-lab.org --- default-tags.mk | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 default-tags.mk 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 -- 2.47.0