automake
[Top][All Lists]
Advanced

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

Re: Built sources always regenerated


From: Braden McDaniel
Subject: Re: Built sources always regenerated
Date: Sun, 01 Jan 2006 11:31:50 -0500

On Sun, 2006-01-01 at 11:29 +0100, Stepan Kasal wrote:
> Hello Braden,
> 
> I tried to check out openvrml from sourceforge, but anonymous cvs access
> doesn't seem to work well at the moment.

:-/

> But I was able to see the Makefile.am, and the obvious question is:
> whe creates
>   openvrml/src/libopenvrml/openvrml/Vrml97TokenTypes.txt
> and when?

It's not generated; it's manually created and modified. From my working
copy:

        $ stat src/libopenvrml/openvrml/Vrml97TokenTypes.txt
          File: `src/libopenvrml/openvrml/Vrml97TokenTypes.txt'
          Size: 1040            Blocks: 16         IO Block: 4096   regular file
        Device: fd01h/64769d    Inode: 19466443    Links: 1
        Access: (0664/-rw-rw-r--)  Uid: (  500/  braden)   Gid: (  500/  braden)
        Access: 2005-12-31 17:03:59.000000000 -0500
        Modify: 2005-06-29 04:34:58.000000000 -0400
        Change: 2005-07-15 04:00:52.000000000 -0400

> Perhaps you didn't meant to work in directory
>   openvrml/src/libopenvrml/openvrml/
> but in the top level openvrml?

No; I did intend to put things in src/libopenvrml/openvrml.

> Then you would need to use the following:
>   $(top_builddir)/openvrml/Vrml97Parser.hpp
>   $(top_builddir)/openvrml/Vrml97Parser.cpp
>   $(top_srcdir)/openvrml/Vrml97Parser.g
>   $(top_builddir)/openvrml/Vrml97TokenTypes.txt
>   etc.
> 
> Please read about top_builddir, srcdir, and such in the Autoconf manual
> (and also perhaps in the Automake manual).

I know about them. As I mentioned, I'm generating these built sources
into srcdir because I want them to be distributed in the tarball. It's
my understanding that putting them in srcdir is the proper thing in that
case.

-- 
Braden McDaniel                           e-mail: <address@hidden>
<http://endoframe.com>                    Jabber: <address@hidden>





reply via email to

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