Xref: utzoo comp.bugs.sys5:728 comp.unix.wizards:13782 Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!amdahl!uunet!mcvax!enea!dkuug!dde!ct From: ct@dde.uucp (Claus Tondering) Newsgroups: comp.bugs.sys5,comp.unix.wizards Subject: make bug Message-ID: <502@Aragorn.dde.uucp> Date: 30 Dec 88 14:01:55 GMT Organization: Dansk Data Elektronik A/S, Herlev, Denmark Lines: 29 Consider the following makefile: ALPHA = foo BETA = $(ALPHA) bar all: echo $(BETA) Running make with this makefile will result in the execution of the command "echo foo bar", which is OK. Now, consider the following makefile: ALPHA = foo BETA = $(ALPHA) bar all: echo $(BETA:bar=hello) Running make with this makefile will result in the execution of the command "echo $(ALPHA) hello", which is certainly not what I would expect. Why is ALPHA not substituted in the last example? Bug or feature? -- Claus Tondering Dansk Data Elektronik A/S, Herlev, Denmark E-mail: ct@dde.dk or ...!uunet!mcvax!dkuug!dde!ct