summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-03-14 15:40:34 +0000
committerJim Meyering <jim@meyering.net>2003-03-14 15:40:34 +0000
commitdaab2ee48703cb99f04c5180b31e664658cc0eeb (patch)
treef5e6b194f368fae9aad673fbb05afb2ed00fa69e
parenta6fe60683ef1e9ed2a564e369706f2b73fc942ff (diff)
downloadcoreutils-daab2ee48703cb99f04c5180b31e664658cc0eeb.tar.xz
(prev_version_file): Don't use ?= for this particular
assignment, since it causes trouble with old versions of GNU make (e.g. 3.76.1). The other uses of `?=' are inoffensive. Details here. http://mail.gnu.org/archive/html/bug-coreutils/2003-03/msg00028.html Patch from Alexandre Duret-Lutz.
-rw-r--r--Makefile.maint4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.maint b/Makefile.maint
index e0f6776f9..30b3dea05 100644
--- a/Makefile.maint
+++ b/Makefile.maint
@@ -24,7 +24,9 @@ GZIP_ENV = '--no-name --best'
CVS = cvs
-prev_version_file ?= .prev-version
+ifeq ($(origin prev_version_file), undefined)
+ prev_version_file = .prev-version
+endif
PREV_VERSION := $(shell cat $(prev_version_file))