diff options
author | Jim Meyering <jim@meyering.net> | 2003-02-22 16:52:36 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-02-22 16:52:36 +0000 |
commit | 0731abb38c6a294d2ac0e3354b3f0baccced82e5 (patch) | |
tree | 03fad65d02220df4553e3aa6cb977654351130db | |
parent | 2f066fd51160544d72d240b701be9582f88e0b43 (diff) | |
download | coreutils-0731abb38c6a294d2ac0e3354b3f0baccced82e5.tar.xz |
(beta, major): New targets. Remove `release'.
Put them all together on a line.
Pass the release type (via RELEASE_TYPE envvar) to the MAKE
invocation of `announcement'.
(announcement): Invoke announce-gen with --release-type=$RELEASE_TYPE.
-rw-r--r-- | Makefile.maint | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile.maint b/Makefile.maint index 847323275..02a92c16f 100644 --- a/Makefile.maint +++ b/Makefile.maint @@ -250,10 +250,11 @@ rel-files = $(xd-delta) $(distdir).tar.bz2 $(distdir).tar.gz announcement: NEWS ChangeLog $(rel-files) $(signatures) @( \ ./announce-gen \ + --release-type=$(RELEASE_TYPE) \ --package=$(PACKAGE) \ --prev=$(PREV_VERSION) \ --curr=$(VERSION) \ - --rel=$(release_archive_dir) \ + --release-archive-directory=$(release_archive_dir) \ --news=NEWS \ $(addprefix --url-dir=, $(url_dir_list)); \ echo; \ @@ -372,12 +373,11 @@ endef $(xd-delta): $(release_archive_dir)/$(prev-tgz) $(distdir).tar.gz xdelta delta -9 $^ $@ || : -.PHONY: alpha release -alpha: release -release: $(local-check) +.PHONY: alpha beta major +alpha beta major: $(local-check) $(MAKE) cvs-dist $(MAKE) $(xd-delta) - $(MAKE) -s announcement > /tmp/announce-$(my_distdir) + $(MAKE) -s announcement RELEASE_TYPE=$@ > /tmp/announce-$(my_distdir) ln $(rel-files) $(release_archive_dir) chmod a-w $(rel-files) echo $(VERSION) > $(prev_version_file) |