summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-01-04 13:20:15 +0000
committerJim Meyering <jim@meyering.net>2000-01-04 13:20:15 +0000
commit8714cce36a37056d8e5a785c9e63684982245ddd (patch)
tree120c969aa1ce27ee6a73b365b78efdc23172cf90
parent1a7010a87ff092db40b5b84ef723d27f6929263b (diff)
downloadcoreutils-8714cce36a37056d8e5a785c9e63684982245ddd.tar.xz
(PREV_VERSION): Tweak so it handles e.g., 2.0a -> 2.0.
(alpha): Create xdelta diffs.
-rw-r--r--Makefile.maint10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile.maint b/Makefile.maint
index 912c171ef..899f87143 100644
--- a/Makefile.maint
+++ b/Makefile.maint
@@ -113,16 +113,24 @@ announcement: NEWS ChangeLog $(distdir).tar.gz
-e 'print "\n"."*"x70 ."\n"; s///; print; print "*"x70 ."\n"'; \
)
+release-archive-dir = ../release
+prev-tgz = $(PACKAGE)-$(PREV_VERSION).tar.gz
+xd-delta = $(PACKAGE)-$(PREV_VERSION)-$(VERSION).xdelta
+
alpha:
$(MAKE) po-check
$(MAKE) cvs-dist
$(MAKE) -s announcement > /tmp/announce-$(distdir)
ln $(distdir).tar.gz ../release
chmod a-w $(distdir).tar.gz
+ cd $(release-archive-dir) \
+ && xdelta delta -9 $(prev-tgz) $(distdir).tar.gz $(xd-delta) || :
+ ln $(release-archive-dir)/$(xd-delta) .
+ chmod a-w $(release-archive-dir)/$(xd-delta)
@echo =====================================
@for url in $(real_dir_list); do \
echo "ncftp -u $$url/"; \
done
- @echo '# put $(distdir).tar.gz'
+ @echo '# mput $(xd-delta) $(distdir).tar.gz'
@echo '# send the /tmp/announcement e-mail'
@echo =====================================