Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2000:
[Freeciv-Dev] Re: BUILT_SOURCES (PR#501)
Home

[Freeciv-Dev] Re: BUILT_SOURCES (PR#501)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: David Pfitzner <dwp@xxxxxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx, bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: BUILT_SOURCES (PR#501)
From: gs234@xxxxxxxxx (Gaute (B) Strokkenes)
Date: 09 Aug 2000 18:34:09 +0200

David Pfitzner <dwp@xxxxxxxxxxxxxx> writes:

> On Tue, 8 Aug 2000 gs234@xxxxxxxxx (Gaute (B) Strokkenes) wrote:
> 
> > packets_lsend.c and packets_lsend.h in common/ should probably be
> > mentioned in BUILT_SOURCES in Makefile.am.
> 
> I don't think so, because they are not built by make, they
> are only generated manually be developers.
> 
> That is, I assume BUILT_SOURCES is so that automake can give
> them special treatment, but we don't want any such treatment 
> - automake should treat them just like "normal" sources?

Well, from my reading of the sources I thought that these files had to
be rebuilt whenever packets.c is changed.  I thought that this was
probably just an oversight.  Adding them to BUILT_SOURCES would ensure
that this happens automagically whenever packets.c is changed.

Note that putting files in BUILT_SOURCES does not mean that they
disappear from the tarball, or that everyone will have to build them
unconditionally.  GNU fileutils 4.0 contains a good example of this;
look in the lib directory and look for the file getdate.y.  If it
wasn't like this, everyone would need yacc or bison to compile
fileutils, which isn't the case.

-- 
Big Gaute (not to be confused with LG)
Is something VIOLENT going to happen to a GARBAGE CAN?



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