summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-06-09 21:18:32 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-06-09 21:18:32 +0000
commitbf2564eaa8f18c0033811320baeab4a5abba2247 (patch)
tree8249398d15288d7afbdca1905790974e500e1918 /Makefile
parent347c3393966612b4b7f5ce51e4fd6131d1a5701a (diff)
downloadATCD-bf2564eaa8f18c0033811320baeab4a5abba2247.tar.gz
removed old release targets
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile91
1 files changed, 0 insertions, 91 deletions
diff --git a/Makefile b/Makefile
index 80ec9279d3a..a29d4dcc553 100644
--- a/Makefile
+++ b/Makefile
@@ -111,97 +111,6 @@ RELEASE_LIB_FILES = \
ACE_wrappers/netsvcs \
ACE_wrappers/tests
-#### If creating the "official" ACE release:
-#### 1) Check that the workspace is up-to-date, and bail out if not.
-#### 2) Update the timestamp in the VERSION file.
-#### 3) Update ace/Version.h.
-#### 4) Add a ChangeLog entry.
-#### 5) Tag the release.
-#### Detect if we are creating the "official" release by looking at the PWD.
-#### To disable this feature, add "TIMESTAMP=" to the make command line.
-#### NOTE: if the version number in the VERSION file contains three components,
-#### e.g., 4.1.5, then the third one will be incremented. This assumes
-#### that alpha/beta releases are numbered with three components, and
-#### that final releases are not. So, if the version number is, e.g.,
-#### 4.2, it will not be modified because it is assumed to be for a
-#### final release.
-ifeq ($(shell pwd),/project/adaptive/ACE_wrappers)
- TIMESTAMP = (DATE=`/usr/bin/date +"%a %b %d %T %Y"`; export DATE; \
- UPTODATE=`cvs -nq update $(CONTROLLED_FILES) | \
- egrep -v '/tests/log/' | perl -pi -e 's%/ACE_wrappers%%g; \
- s/$$/\\\n /g'`; \
- 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; \
- OLD_ACE_VERSION_TAG=ACE-`perl -ne 'if (/ACE version/) \
- { s/[^0-9]+(\d+)\.(\d+)\.(\d+).+/\1_\2_\3/; print }' VERSION`;\
- export OLD_ACE_VERSION_TAG; \
- ACE_VERSION=`perl -pi -e \
- 'BEGIN { $$date=$$ENV{"DATE"} } \
- s/(ACE version \d+\.\d+\.)(\d+)/sprintf("$$1%d",$$2+1)/e; \
- if (s/(, released ).*/$$1$$date./) { \
- ($$version = $$_) =~ s/^This is //; } \
- END { print $$version } ' VERSION;` export ACE_VERSION; \
- perl -i -e \
- 'BEGIN {($$message = \
- $$ENV{"DATE"} . " " . \
- $$ENV{"SIGNATURE"} . " <" . \
- $$ENV{"LOGNAME"} . \
- "\@cs.wustl.edu>\n\n * " . \
- $$ENV{"ACE_VERSION"} . "\n"); \
- $$message_printed = 0;} \
- while (<>) { \
- if ( ! $$message_printed++ ) { print "$$message\n"; } \
- print; } ' ChangeLog; \
- echo $$ACE_VERSION | perl -ne ' \
- ($$version = $$_) =~ s/ACE version ([\d\.]+).*\n/$$1/; \
- ($$major, $$minor, $$beta) = split /\./, $$version; \
- $$beta = 0 if ! defined $$beta; \
- print "// \$$Id\$$\n" . \
- "// This is an automatically generated file.\n\n" . \
- "\#define ACE_MAJOR_VERSION ($${major}u)\n" . \
- "\#define ACE_MINOR_VERSION ($${minor}u)\n" . \
- "\#define ACE_BETA_VERSION ($${beta}u)\n" . \
- "\#define ACE_VERSION " . \
- "\"$${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; \
- VERSION_TAG=ACE-`perl -ne 'if (/ACE version/) \
- { s/[^0-9]+(\d+)\.(\d+)\.(\d+).+/\1_\2_\3/; print }' VERSION`;\
- export VERSION_TAG; \
- cvs -q tag $$VERSION_TAG $(CONTROLLED_FILES) > /dev/null) &&
-else
- TIMESTAMP =
-endif
-
-#### The following tar creation commands assume that cpio supports -H tar.
-#### Old versions of cpio might not, but the version that's shipped with
-#### Solaris 2.5.1, and gnu cpio 2.3, do support that option.
-
-FILTER = -name CVS -prune -o ! -name '.\#*' ! -name '\#*' ! -name '*~' \
- ! -name '*.MAK' -print
-
-cleanrelease-old: ACE-INSTALL
- @$(TIMESTAMP) (make realclean; cd ..; \
- find $(RELEASE_FILES) $(FILTER) | \
- cpio -o -H tar | gzip -9 > ACE.tar.gz; \
- chmod a+r ACE.tar.gz; mv ACE.tar.gz ./ACE_wrappers/)
-
-release-old: ACE-INSTALL
- @$(TIMESTAMP) (cd ..; \
- find $(RELEASE_FILES) $(FILTER) | \
- cpio -o -H tar | gzip -9 > ACE.tar.gz; \
- find $(RELEASE_LIB_FILES) $(FILTER) | \
- cpio -o -H tar | gzip -9 > ACE-lib.tar.gz; \
- chmod a+r ACE.tar.gz ACE-lib.tar.gz; \
- mv ACE.tar.gz ACE-lib.tar.gz ./ACE_wrappers/)
-
-releaseall-old: release-old
- @cd TAO; make release-old; chmod 644 VERSION ChangeLog
- @(cd ..; \
- find $(ALL_RELEASE_FILES) $(FILTER) | \
- cpio -o -H tar | gzip -9 > ACE+TAO.tar.gz; \
- chmod a+r ACE+TAO.tar.gz; \
- mv ACE+TAO.tar.gz ./ACE_wrappers/)
.PHONY: release releasetao releaseall ACE-INSTALL