[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: make -q and timestamps
From: |
Bruno Haible |
Subject: |
Re: make -q and timestamps |
Date: |
Sun, 14 Aug 2011 00:02:28 +0200 |
User-agent: |
KMail/1.13.6 (Linux/2.6.37.6-0.5-desktop; KDE/4.6.0; x86_64; ; ) |
Hi Paul,
> I've been moving away from stamp files like that lately, though,
> as these days they seem to be more trouble than they're worth,
> at least for me. If you do create a stamp file, please make
> sure that it works with parallel makes. ... The problem can be worked around,
> though I don't remember offhand how to do that, and the complexity
> of doing it "right" has led me to think that it shouldn't be done
> at all.
This is the same dilemma that we talked about in the thread about the *.in.h
-> *.h file generation [1].
If it is not currently possible to write this with Makefile rules, in a way
that is robust against the 'make' options '-j', '-k', '-q', etc., then
is it possible to extend GNU Make in a way that supports this? Possibly
by defining a new kind of special built-in target?
Bruno
[1] http://lists.gnu.org/archive/html/bug-gnulib/2011-07/msg00314.html
--
In memoriam Paul Richter <http://de.wikipedia.org/wiki/Paul_Richter_(Pfarrer)>
Re: make -q and maintainer-makefile issues?, Bruno Haible, 2011/08/13