[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
-n option executes commands; bug?
From: |
gk |
Subject: |
-n option executes commands; bug? |
Date: |
Mon, 23 Jun 2003 12:49:52 -0700 |
Is this a bug?
Generally, -n option behaves as documented : 'dry-run'; no rules are executed.
However, the following example shows that rule including $(MAKE) -p is
executed.
#Makefile
foo:
@$(MAKE) -p $@ 1>$@
#eof
address@hidden junk]$ ls foo
ls: foo: No such file or directory
address@hidden junk]$ make -n foo
make -p foo 1>foo
address@hidden junk]$ ls foo
foo
address@hidden junk]$
- Greg Keraunen
http://www.xmake.org
- -n option executes commands; bug?,
gk <=
- Re: -n option executes commands; bug?, Paul D. Smith, 2003/06/23
- Re: -n option executes commands; bug?", Martin McCann, 2003/06/23
- Re: -n option executes commands; bug?", Paul D. Smith, 2003/06/23
- Re: -n option executes commands; bug?", Martin McCann, 2003/06/23
- Re: -n option executes commands; bug?", gk, 2003/06/23
- Re: -n option executes commands; bug?", Paul D. Smith, 2003/06/23
- Re: -n option executes commands; bug?", gk, 2003/06/23
- Re: -n option executes commands; bug?", Paul D. Smith, 2003/06/23