[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Tue, 10 May 2005 15:15:44 +0200
I've just stumbled over this problem:
$(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 Makefile.in'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
- .DELETE_ON_ERROR ?,
Stepan Kasal <=