On 04/27/2010 03:49 PM, NightStrike wrote:
> On Tue, Apr 27, 2010 at 4:20 PM, Matěj Týč <matej....@gmail.com> wrote:
>> Hello,
>> I use GNU Autogen to generate files to my project.

>> What I would like to have is some integration of autogen with autoconf
>> like YACC and LEX have.

Fundamentally, you want to add foo.def and foo.tpl to EXTRA_DIST,
list the resulting output files in BUILT_SOURCES and leave it at that.
YACC and LEX presume that their outputs can use normal dependencies
because "everybody" has yacc and lex.  Since you (wisely) do not make
that presumption in your build, this is the way to do it.  Once
autogen becomes as common as a C compiler, then you could think
more about the yacc & lex approach.  That probably won't be any
time real soon.  :)

Good luck!  Let me know how my toy works for you.  Regards, Bruce (Mr. AutoGen).


Reply via email to