diff options
author | Chris Cleeland <chris.cleeland@gmail.com> | 1998-01-21 23:20:05 +0000 |
---|---|---|
committer | Chris Cleeland <chris.cleeland@gmail.com> | 1998-01-21 23:20:05 +0000 |
commit | f1aea1a4d5c43e3e09a3f22dcc2ddfb949b17ddd (patch) | |
tree | 0641f0d212811d3214b325ef242bce9ecf45be15 /TAO/Makefile | |
parent | a8295dd7c0461cc4a05c1ebfe07fcb6b6b630ba5 (diff) | |
download | ATCD-f1aea1a4d5c43e3e09a3f22dcc2ddfb949b17ddd.tar.gz |
* Makefile: Updated this to use the new release.pl file below.
* release.pl: Added new script to take over some of the release
work rather than having it all inline in the Makefile.
Diffstat (limited to 'TAO/Makefile')
-rw-r--r-- | TAO/Makefile | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/TAO/Makefile b/TAO/Makefile index b17aaf387af..85a7a316ec1 100644 --- a/TAO/Makefile +++ b/TAO/Makefile @@ -77,27 +77,9 @@ INSTALL: TAO-INSTALL.html ifeq ($(shell pwd),/project/adaptive/ACE_wrappers/TAO) TIMESTAMP = (CHANGELOG='ChangeLog'; export CHANGELOG; \ if [ -z "$$CHANGELOG" ]; then echo unable to find latest ChangeLog file; exit 1; fi; \ - DATE=`/usr/bin/date +"%a %b %d %T %Y"`; export DATE; \ cd ..; UPTODATE=`cvs -nq update $(RELEASE_FILES) | egrep -v '/tests/log/' | perl -pi -e 's%/TAO%%g; s/$$/\\\n /g'`; cd TAO; \ if [ "$$UPTODATE" ]; then /pkg/gnu/bin/echo -e ERROR: workspace must be updated, and/or non-controlled files must be removed or added/committed: $$UPTODATE; exit 1; fi; \ - TAO_VERSION=`perl -pi -e \ - 'BEGIN { $$date=$$ENV{"DATE"} } \ - s/(TAO version \d+\.\d+\.)(\d+)/sprintf("$$1%d",$$2+1)/e; \ - if (s/(, released ).*/$$1$$date./) { \ - ($$version = $$_) =~ s/^This is //; } \ - END { print $$version } ' VERSION;` export TAO_VERSION; \ - perl -i -e \ - 'BEGIN {($$message = \ - $$ENV{"DATE"} . " " . \ - $$ENV{"SIGNATURE"} . " <" . \ - $$ENV{"LOGNAME"} . "\@cs.wustl.edu>\n\n\t* " . \ - $$ENV{"TAO_VERSION"} . "\n"); \ - $$message_printed = 0;} \ - while (<>) { \ - if ( ! $$message_printed++ ) { print "$$message\n"; } \ - print; } ' $$CHANGELOG; \ - cvs commit -m"$$TAO_VERSION" VERSION $$CHANGELOG; \ - chmod 644 VERSION $$CHANGELOG) && + perl $TAO_ROOT/release.pl) && else TIMESTAMP = endif |