move pldistro or release specific info into separate tags files. This is the default...
authorMarc Fiuczynski <mef@cs.princeton.edu>
Mon, 5 Nov 2007 17:05:01 +0000 (17:05 +0000)
committerMarc Fiuczynski <mef@cs.princeton.edu>
Mon, 5 Nov 2007 17:05:01 +0000 (17:05 +0000)
default-tags.mk [new file with mode: 0644]

diff --git a/default-tags.mk b/default-tags.mk
new file mode 100644 (file)
index 0000000..9d0adf1
--- /dev/null
@@ -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