(prev_version_file): Don't use ?= for this particular
authorJim Meyering <jim@meyering.net>
Fri, 14 Mar 2003 15:40:34 +0000 (15:40 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 14 Mar 2003 15:40:34 +0000 (15:40 +0000)
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.

Makefile.maint

index e0f6776..30b3dea 100644 (file)
@@ -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))