Hi!

2007/2/28, Bob Proulx <[EMAIL PROTECTED]>:
I would really like a clean target that would remove generated source
files such as generated .c and .h files.  In the case of yacc and lex
I would like to distribute the generated files so as not to require
the use of yacc and lex to compile the distribution.  This rules out
DISTCLEANFILES or that would work.  But they are not true source and
so at times it is useful to delete them and rebuild them.  Such as
when asking the question, which version of flex works and which fails?


Do you mean having a template file with extra rules feeded to automake
command, containing a target like CLEANDERIVED concatenated to every
Makefile.am file. Or do you mean adding a new primitive
_DERIVEDSOURCES to auto-makefiles with a list of intermediare/derived
files? Or both?

Regards,
Roger


Reply via email to