9d0adf1d5a5ad9e78c328b12fc882b95971a5840
[build.git] / default-tags.mk
1 #
2 #
3 #
4
5 SVNPATH := https://svn.planet-lab.org/svn
6 TAG := trunk
7
8
9 # Check if a tag has been checked out
10 ifneq ($(wildcard CVS/Root),)
11 # Check if we are able to access CVS
12 CVSTAG := $(shell cvs status planetlab.mk 2>/dev/null | sed -ne 's/[[:space:]]*Sticky Tag:[[:space:]]*\([^[:space:]]*\).*/\1/p')
13 ifneq ($(CVSTAG),)
14 CVSROOT := $(shell cat CVS/Root)
15 ifeq ($(CVSTAG),(none))
16 TAG := HEAD
17 else
18 TAG := $(CVSTAG)
19 endif
20 endif
21 endif