From 7c1946450461d32e60e0860fd89437e602173a7f Mon Sep 17 00:00:00 2001 From: damiano Date: Tue, 13 Apr 1999 14:55:34 +0000 Subject: Correcting bug regarding cvs tag --- debian/rules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'debian') diff --git a/debian/rules b/debian/rules index 40c7f3f..2529da7 100755 --- a/debian/rules +++ b/debian/rules @@ -8,7 +8,7 @@ SED_COMMAND='s/.*(\([^)]*\)).*/\1/p' MAJOR := $(shell sed -n $(SED_COMMAND) debian/changelog | head -1 | sed -n 's/\([0-9]*\)\..*/\1/p') MINOR := $(shell sed -n $(SED_COMMAND) debian/changelog | head -1 | sed -n 's/[0-9]*\.\([0-9\.]*\).*/\1/p') VERSION = $(MAJOR).$(MINOR) -CVS_TAG := $(shell echo -n $(VERSION) | sed -n 's/\./_/gp') +CVS_TAG := V$(shell echo -n $(VERSION) | sed -n 's/\./_/gp') build: $(checkdir) @@ -75,6 +75,6 @@ define checkversion endef tag: - -@if (test -x cvs); then cvs tag $(CVS_TAG) .; fi + -@if (test -x `which cvs`); then cvs tag $(CVS_TAG) .; fi .PHONY: binary binary-arch binary-indep clean checkroot -- cgit v1.1