[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: make -q and maintainer-makefile issues?
From: |
Paul Eggert |
Subject: |
Re: make -q and maintainer-makefile issues? |
Date: |
Sun, 14 Aug 2011 08:34:29 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11 |
On 08/14/2011 03:19 AM, Bruno Haible wrote:
> I wouldn't want to kill all
> phony targets from all Makefiles, just for "make -q".
Sorry, I see that I wasn't clear earlier. Not all phony targets have
the problem. For example, the following works fine:
.PHONY: all
all: foo
foo: /etc/motd
cat /etc/motd >$@
The problem occurs only when a phony target has a nonempty action,
and when "make -q" depends on the phony target.
If you can program a sanity check this way:
sanity:
@$(SANITY)
where SANITY expands to the empty string if the check succeeds,
and to 'false' if it fails, then 'make -q' should work. This is
true regardless of whether 'sanity' is phony.
- Re: make -q and maintainer-makefile issues?, (continued)
Re: make -q and maintainer-makefile issues?, Bruno Haible, 2011/08/13
- Re: make -q and maintainer-makefile issues?, Paul Eggert, 2011/08/13
- Re: make -q and maintainer-makefile issues?, Bruno Haible, 2011/08/13
- Re: make -q and maintainer-makefile issues?, Paul Eggert, 2011/08/13
- Re: make -q and maintainer-makefile issues?, Bruno Haible, 2011/08/14
- Re: make -q and maintainer-makefile issues?,
Paul Eggert <=
- Re: make -q and maintainer-makefile issues?, Bruno Haible, 2011/08/14
- Re: make -q and maintainer-makefile issues?, Paul Eggert, 2011/08/15
Re: make -q and maintainer-makefile issues?, Bruno Haible, 2011/08/18