summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-03-01 19:53:08 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-03-01 19:53:08 +0000
commit912265d254e8105bf28835bf69515567195c2b61 (patch)
tree068b00d14be0b27fe28e9d98f74cd220d3be2f41 /Makefile
parent14644d8dc2c504804c808e33e6679c173c97d6be (diff)
downloadATCD-912265d254e8105bf28835bf69515567195c2b61.tar.gz
Automatically tag the cvs-repository with version number 'ACE_9_9_99' and move the
'Current' tag.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8cdb0407cee..bb8199d5909 100644
--- a/Makefile
+++ b/Makefile
@@ -139,7 +139,13 @@ ifeq ($(shell pwd),/project/adaptive/ACE_wrappers)
"\"$${major}.$${minor}.$${beta}\\0\"\n";' > \
ace/Version.h; \
cvs commit -m"$$ACE_VERSION" VERSION $$CHANGELOG ace/Version.h; \
- chmod 644 VERSION $$CHANGELOG ace/Version.h) &&
+ chmod 644 VERSION $$CHANGELOG ace/Version.h; \
+ VERSION_TAG=ACE_`perl -ne 'if (/ACE version/) \
+ { s/[^0-9]+(\d+)\.(\d+)\.(\d+).+/\1_\2_\3/ ; print }' VERSION`;\
+ export VERSION_TAG; \
+ CURRENT_TAG=Current; export CURRENT_TAG; \
+ cvs tag $$VERSION_TAG $(RELEASE_FILES) ; \
+ cvs tag -F $$CURRENT_TAG $(RELEASE_FILES)) &&
else
TIMESTAMP =
endif