bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make doesn't know about sh's "!"?


From: Paul D. Smith
Subject: Re: make doesn't know about sh's "!"?
Date: Thu, 15 Dec 2005 14:24:15 -0500

> Make doesn't know about "!"?

This has already been fixed.

Try the latest beta:

    ftp://alpha.gnu.org/gnu/make/make-3.81beta4.tar.gz

> Sigh, must use sh -c '!....'

No.  Many special characters will cause make to invoke a shell.  For
example, double-quotes (").  Until you can get the fixed version you can
use something like this as a workaround:

    all: ; ! test -w "/"

to force make to run a shell.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist




reply via email to

[Prev in Thread] Current Thread [Next in Thread]