[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: |
undisclosed-recipients: ; |
Subject: |
[Freeciv-Dev] Re: (PR#8164) building out of a builddir: generate_packets.py |
From: |
"Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx> |
Date: |
Fri, 26 Mar 2004 23:03:00 -0800 |
Reply-to: |
rt@xxxxxxxxxxx |
<URL: http://rt.freeciv.org/Ticket/Display.html?id=8164 >
Raimar Falke wrote:
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=8164 >
>
> On Thu, Mar 25, 2004 at 02:51:33PM -0800, Jason Short wrote:
>
>><URL: http://rt.freeciv.org/Ticket/Display.html?id=8164 >
>>
>>Here's an updated version of the patch. I changed generate_packets.py
>>and its caller as Raimar suggested.
>>
>>packets_gen.h and packhand_gen.h are only included from one file each.
>>However hand_gen.h is included from many files. Should these be unified
>>so that it's included from just one header? sernet.h and civserver.h
>>are the only two options, and neither is particularly good.
>
> Can't we solve this <> addition with some more include magic? It seems
> wrong to me to add an exception for a rarely used case (different src
> and build dir).
I don't see how we can remove them entirely. We can limit them to a
single location if we wanted to.
If the original files weren't in the srcdir this wouldn't be a problem.
The problem is if we use "" the srcdir files are used instead of the
builddir ones. But this gets us nowhere since we certainly don't want
someone building from a release tarball to have to rebuild the files.
jason
- [Freeciv-Dev] Re: (PR#8164) building out of a builddir: generate_packets.py, Raimar Falke, 2004/03/17
- [Freeciv-Dev] Re: (PR#8164) building out of a builddir: generate_packets.py, Marko Lindqvist, 2004/03/17
- [Freeciv-Dev] Re: (PR#8164) building out of a builddir: generate_packets.py, Jason Short, 2004/03/17
- [Freeciv-Dev] Re: (PR#8164) building out of a builddir: generate_packets.py, rwetmore@xxxxxxxxxxxx, 2004/03/18
- [Freeciv-Dev] Re: (PR#8164) building out of a builddir: generate_packets.py, Raimar Falke, 2004/03/18
- [Freeciv-Dev] (PR#8164) building out of a builddir: generate_packets.py, Jason Short, 2004/03/24
- [Freeciv-Dev] (PR#8164) building out of a builddir: generate_packets.py, Jason Short, 2004/03/25
- [Freeciv-Dev] Re: (PR#8164) building out of a builddir: generate_packets.py, Raimar Falke, 2004/03/27
- [Freeciv-Dev] Re: (PR#8164) building out of a builddir: generate_packets.py,
Jason Short <=
- [Freeciv-Dev] Re: (PR#8164) building out of a builddir: generate_packets.py, Raimar Falke, 2004/03/27
- [Freeciv-Dev] Re: (PR#8164) building out of a builddir: generate_packets.py, Jason Short, 2004/03/27
- [Freeciv-Dev] Re: (PR#8164) building out of a builddir: generate_packets.py, Raimar Falke, 2004/03/27
- [Freeciv-Dev] Re: (PR#8164) building out of a builddir: generate_packets.py, Jason Short, 2004/03/27
|
|