From 3adb181cc6f8f471c99536af8a3f61fcdd60e2a4 Mon Sep 17 00:00:00 2001 From: Mark Huang Date: Thu, 6 Jul 2006 14:28:50 +0000 Subject: [PATCH] - if build/ has been checked out (vs. exported), check the CVS metafiles to see what CVSROOT and TAG to use --- planetlab.mk | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/planetlab.mk b/planetlab.mk index a50525f7..8fbe0c1b 100644 --- a/planetlab.mk +++ b/planetlab.mk @@ -28,8 +28,16 @@ # Default values # +ifneq ($(wildcard CVS/Root),) +CVSROOT := $(shell cat CVS/Root) +TAG := $(shell cvs status Makefile | sed -ne 's/[[:space:]]*Sticky Tag:[[:space:]]*\(.*\)/\1/p') +ifeq ($(TAG),(none)) +TAG := HEAD +endif +else CVSROOT := :pserver:anon@cvs.planet-lab.org:/cvs TAG := HEAD +endif # # kernel -- 2.47.0