[Top][All Lists]

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

Re: GNU autogen code generation

From: Bruce Korb
Subject: Re: GNU autogen code generation
Date: Tue, 27 Apr 2010 17:40:03 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100317 SUSE/3.0.4-1.1.1 Thunderbird/3.0.4

On 04/27/2010 03:49 PM, NightStrike wrote:
> On Tue, Apr 27, 2010 at 4:20 PM, Matěj Týč <address@hidden> 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

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