diff options
author | Jim Meyering <jim@meyering.net> | 2000-09-25 10:51:53 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-09-25 10:51:53 +0000 |
commit | d2a170a7857542b9e2b8db56a0ca89dc36fc327f (patch) | |
tree | d58b8c97855e1ea260f9d2d8c8a5ee0c3bfaea3c | |
parent | 2da0b155371a67b0fcdf4f5ff094d047ba44cc3c (diff) | |
download | coreutils-d2a170a7857542b9e2b8db56a0ca89dc36fc327f.tar.xz |
(prev_version_file): Define and use.
-rw-r--r-- | Makefile.maint | 8 |
1 files changed, 5 insertions, 3 deletions
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 \' |