From: Jim Meyering Date: Fri, 14 Mar 2003 15:40:34 +0000 (+0000) Subject: (prev_version_file): Don't use ?= for this particular X-Git-Tag: v4.5.11~87 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=daab2ee48703cb99f04c5180b31e664658cc0eeb;p=thirdparty%2Fcoreutils.git (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. --- diff --git a/Makefile.maint b/Makefile.maint index e0f6776f92..30b3dea059 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))