[gnu.utils.bug] GNU Make 3.05 environment problem

karl@mstar.UUCP (Karl Fox) (09/21/88)

GNU Make version 3.05 can put seemingly bogus values for string variables
into the environment when running programs.  It can be worked around by putting
them explicitly into the environment (for example, VPATH=$(VPATH)), but it
worked properly before.  /bin/make is GNU make 3.05; /bin/OLDgmake is GNU make
from mid July (sorry, I don't know the version).

| Script started on Wed Sep 21 10:49:06 1988
| mstar % cat test.mk
| TMP	=	/tmp
| X	=	x $(TMP) x
| VPATH	=	$(TMP):/usr/tmp
| 
| all:
| 	env | egrep -i "tmp|vpath"
| mstar % make -f test.mk
| env | egrep -i "tmp|vpath"
| TMP=/tmp
| VPATH=$(TMP):/usr/tmp
| X=x $(TMP) x
| mstar % OLDgmake -f test.mk
| env | egrep -i "tmp|vpath"
| TMP=/tmp
| VPATH=/tmp:/usr/tmp
| X=x /tmp x
| mstar % ^D
| script done on Wed Sep 21 10:53:05 1988
-- 
Karl Fox, Morning Star Technologies ...!{att,osu-cis,pyramid}!mstar!karl