Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Bug#271196: makefile completion catches



Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> typed:
: On Wed, 29 Sep 2004, Wayne Davison wrote:
:> On Sat, Sep 11, 2004 at 11:24:58PM -0400, Clint Adams wrote:
:> > Should we move toward 20277 instead?
:
:> Also, we'd need to figure out if it is handling non-gnu include files
:> properly (there is probably still a little more work to do there).

The make used by the *BSD's has extensions for assignment operators,
viz. ``?='' and ``!='', which aren't handled properly.

     ?=      Assign the value to the variable if it is not already defined.

     !=      Expand the value and pass it to the shell for execution and
             assign the result to the variable.  Any newlines in the result
             are replaced with spaces.

% echo 'FOO!=bar' >Makefile
% make <TAB>
make (eval):1: command not found: FOO!=bar

...

Regards,
Geoff



Messages sorted by: Reverse Date, Date, Thread, Author