summaryrefslogtreecommitdiff
path: root/TAO/Makefile
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-04-08 15:01:51 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-04-08 15:01:51 +0000
commit71e14f63111f21ff84e0c317a079b9bfc732809f (patch)
treec6d482c9787b06d7d926c8229edab1b042b0df0d /TAO/Makefile
parent51a189232e5549905b2ebfd19ac601c36ee03fb6 (diff)
downloadATCD-71e14f63111f21ff84e0c317a079b9bfc732809f.tar.gz
added support for bin/make_release
Diffstat (limited to 'TAO/Makefile')
-rw-r--r--TAO/Makefile26
1 files changed, 23 insertions, 3 deletions
diff --git a/TAO/Makefile b/TAO/Makefile
index c17da160e39..129c0bf17eb 100644
--- a/TAO/Makefile
+++ b/TAO/Makefile
@@ -4,6 +4,14 @@
# Top-level Makefile for the TAO
#----------------------------------------------------------------------------
+#### The "release" targets can be used to create the ACE+TAO kit. By
+#### default, it creates a new beta release. To create a new minor or
+#### major release, add "REL=minor" or "REL=major", respectively, to
+#### the make invocation.
+####
+#### To see what make release would do without actually doing it, add
+#### "CHECK=-n" to the invocation.
+
#----------------------------------------------------------------------------
# Local macros
#----------------------------------------------------------------------------
@@ -92,15 +100,27 @@ INSTALL: TAO-INSTALL.html
FILTER = -name CVS -prune -o ! -name '.\#*' ! -name '\#*' ! -name '*~' -print
-cleanrelease: INSTALL
+cleanrelease-old: INSTALL
@$(TIMESTAMP) (make realclean; cd ..; \
find $(RELEASE_FILES) $(FILTER) | cpio -o -H tar | gzip -9 > TAO.tar.gz; \
chmod a+r TAO.tar.gz; )
-release: INSTALL
+release-old: INSTALL
@$(TIMESTAMP) (cd ..; \
find $(RELEASE_FILES) $(FILTER) | cpio -o -H tar | gzip -9 > TAO.tar.gz; \
chmod a+r TAO.tar.gz; )
-releaseall: INSTALL
+releaseall-old: INSTALL
@$(TIMESTAMP) true
+
+REL = beta
+CHECK =
+
+#### The call to make_release below doesn't actually create the kit.
+#### If creating a release in /project/adaptive/ACE_wrappers/TAO, it
+#### just updates the VERSION and ChangeLog files, and tags the release.
+#### Then, make releasetao is invoked to actually create the kit.
+release: INSTALL
+ @$(ACE_ROOT)/bin/make_release $(CHECK) -k tao -t $(REL) \
+ -c "$(RELEASE_FILES)" -r "$(RELEASE_FILES)" && \
+ cd .. && make releasetao