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

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

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#8164) building out of a builddir: generate_packets.py
From: "Raimar Falke" <i-freeciv-lists@xxxxxxxxxxxxx>
Date: Thu, 18 Mar 2004 07:23:34 -0800
Reply-to: rt@xxxxxxxxxxx

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

On Thu, Mar 18, 2004 at 07:01:37AM -0800, rwetmore@xxxxxxxxxxxx wrote:
> 
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=8164 >
> 
> K&R - The C Programming Language  (aka the "C" Bible).
> 
> Basically this is "C" 101 coding practice. Not only clean - but the defined
> way to write "C" code.
> 
> Cheers,
> RossW
> =====
> 
> Raimar Falke wrote:
> > <URL: http://rt.freeciv.org/Ticket/Display.html?id=8164 >
> > 
> > On Wed, Mar 17, 2004 at 12:11:12PM -0800, Jason Short wrote:
> > 
> >>Fortunately automake already has a method for including a file from the 
> > 
> > 
> >>builddir: by using <> instead of "" for the file name.  This changes the 
> > 
> > 
> > This doesn't seems clean. Is this really the canonical way? Can you
> > cite a source.

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.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
  "The primary purpose of the DATA statement is to give names to
   constants; instead of referring to pi as 3.141592653589793 at every
   appearance, the variable PI can be given that value with a DATA
   statement and used instead of the longer form of the constant. This
   also simplifies modifying the program, should the value of pi
   change."
    -- FORTRAN manual for Xerox Computers




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