From: Jim Meyering Date: Mon, 25 Sep 2000 10:51:53 +0000 (+0000) Subject: (prev_version_file): Define and use. X-Git-Tag: TEXTUTILS-2_0_8~121 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d2a170a7857542b9e2b8db56a0ca89dc36fc327f;p=platform%2Fupstream%2Fcoreutils.git (prev_version_file): Define and use. --- diff --git a/Makefile.maint b/Makefile.maint index 7acdcd277..081313341 100644 --- a/Makefile.maint +++ b/Makefile.maint @@ -70,9 +70,11 @@ my-distcheck: writable-files po-check echo "$(distdir).tar.gz is ready for distribution"; \ echo "========================" +prev_version_file = .prev-version + THIS_VERSION_REGEXP = $(subst .,\.,$(VERSION)) # FIXME: this works only for Gnits-style test releases. -PREV_VERSION := $(shell cat .version) +PREV_VERSION := $(shell cat $(prev_version_file)) PREV_VERSION_REGEXP := $(shell echo $(PREV_VERSION)|sed 's/\./\\./g') v = Version @@ -162,8 +164,8 @@ alpha: writable-files po-check && 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 $(VERSION) > .version - cvs ci -m. .version + echo $(VERSION) > $(prev_version_file) + cvs ci -m. $(prev_version_file) @echo ===================================== @echo ===================================== @echo 'scp $(xd-delta) $(distdir).tar.gz \'