[Top][All Lists]

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


From: Stepan Kasal
Date: Tue, 10 May 2005 15:15:44 +0200
User-agent: Mutt/1.4.1i

  I've just stumbled over this problem: contains:

foo.h: foo.x
        $(GENERATOR) foo.x >foo.h

But the GENERATOR command failed and I have empty foo.h.

It would be nice if make deleted foo.h automatically, but this is not the
historical practice.  GNU make enables you to change its behaviour by
mentioning a target:


Could Automake possibly add this target to all generated's?

I understand that the problem is that we want to write portable Makefiles.
OTOH, this change doesn't prevent build from scratch with non-GNU makes.
And most developers use GNU make, and this change can help them with their


Stepan Kasal

reply via email to

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