help-make
[Top][All Lists]
Advanced

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

Re: -n option executes commands; bug?


From: Paul D. Smith
Subject: Re: -n option executes commands; bug?
Date: Mon, 23 Jun 2003 15:44:36 -0400

%% gk <address@hidden> writes:

  g> Is this a bug?

No.

  g> Generally, -n option behaves as documented : 'dry-run'; no rules
  g> are executed.  However, the following example shows that rule
  g> including $(MAKE) -p is executed.

Yes.

  g> foo:
  g>    @$(MAKE) -p $@ 1>$@

See the GNU make manual section that defines the -n option, "Instead of
Executing the Commands".

-- 
-------------------------------------------------------------------------------
 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]