git://git.onelab.eu
/
build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
682dcb6
)
move pldistro or release specific info into separate tags files. This is the default...
author
Marc Fiuczynski
<mef@cs.princeton.edu>
Mon, 5 Nov 2007 17:05:01 +0000
(17:05 +0000)
committer
Marc Fiuczynski
<mef@cs.princeton.edu>
Mon, 5 Nov 2007 17:05:01 +0000
(17:05 +0000)
default-tags.mk
[new file with mode: 0644]
patch
|
blob
diff --git a/default-tags.mk
b/default-tags.mk
new file mode 100644
(file)
index 0000000..
9d0adf1
--- /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