Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2004:
[Freeciv-Dev] (PR#8164) building out of a builddir: generate_packets.py
Home

[Freeciv-Dev] (PR#8164) building out of a builddir: generate_packets.py

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#8164) building out of a builddir: generate_packets.py
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 24 Mar 2004 12:11:16 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=8164 >

> [i-freeciv-lists@xxxxxxxxxxxxx - Thu Mar 18 15:23:34 2004]:

> I was not about writing <> and "" per se but the use of these
> constructs by automake. IMHO all project specific files should be
> included by "". It is non-intuitive for a newbie why certain files
> should use <> while other doesn't. And yes I know that we already have
> this with config.h. But this files is very special.

config.h is special because it is built a configure-time.  The _gen
files are built at compile-time and so are also special.

There is no documentation I could find on using <> for build-dir files.
 However this is just a matter of include order.  If you use "" the
include directories are searched from bottom to top (starting with the
srcdir, moving to builddir, and ending with the system includes).  If
you use <> the directories are searched from top to bottom.  The
documentation on this is readily available.

This may be non-intuitive for newbies.  But this is localized and should
be easily explained by adding a comment.

jason



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