From 156e44fa2fa6e3bee29a9fef1e8ce25cb4dde93c Mon Sep 17 00:00:00 2001 From: Sylvain Pion Date: Sun, 22 Aug 1999 16:04:42 +0000 Subject: [PATCH] - New variables TAG_VERSION and CGAL_VERSION computed at the beginning. --- Packages/Interval_arithmetic/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Packages/Interval_arithmetic/Makefile b/Packages/Interval_arithmetic/Makefile index a73e6f968f1..21addcb6858 100644 --- a/Packages/Interval_arithmetic/Makefile +++ b/Packages/Interval_arithmetic/Makefile @@ -7,6 +7,8 @@ Package=Interval_arithmetic WWW_base=/u/www/0/www/htdocs/files/equipes/prisme/CGAL/DR:/Members WWW_dir=$(WWW_base)/$(Package) TMP_file=/tmp/submit-mail +TAG_VERSION:= v$(shell echo $(VERSION) | sed -e "s/\./_/g") +CGAL_VERSION:= "$(VERSION) ($(shell date '+%e %b %Y'))" package: doc filters example clean $(Package).tar.gz @echo "-----------------------------------" @@ -22,10 +24,10 @@ package: doc filters example clean $(Package).tar.gz @echo "-----------------------------------" version: - echo "$(VERSION) (`date '+%e %b %Y'`)" > version + echo $(CGAL_VERSION) > version tag: - cvs tag -c v`echo $(VERSION) | sed -e "s/\./_/g"` + cvs tag -c $(TAG_VERSION) submit: package cp $(Package).tar.gz doc_ps/$(Package).ps version description.txt \