[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re : [Bug-gnubg] Question Re: 040617 build & gnubg.gtkrc
From: |
Joern Thyssen |
Subject: |
Re: Re : [Bug-gnubg] Question Re: 040617 build & gnubg.gtkrc |
Date: |
Tue, 22 Jun 2004 16:43:27 +0000 |
User-agent: |
Mutt/1.4.2.1i |
On Tue, Jun 22, 2004 at 01:23:15PM +0200, Holger wrote
> >A few suggestions on how to solve this:
> >
> >(1) keep a separate gnubg.gtkrc.win32 and add a target in your
> >hand-written Makefiles to copy gnubg.gtkrc.win32 to gnubg.gtkrc
> >
> >(2) I can supply a sed-script to convert gnubg.gtkrc.in to gnubg.gtkrc
> >
> >I prefer solution (2), but can live with (1).
>
> I agree. Actually, we could put a target for gnubg.gtkrc with this sed
> script as a rule into the Windows Makefile(s) as well. Much better to have
> only one source file to change.
Precisely.
Here's the script:
sed -e 's,@OS_WIN32_TRUE@,,g; s,@OS_WIN32_FALSE@,#,g;
s,@USE_GTK_TRUE@,#,g; s,@USE_GTK_FALSE@,,g; s,@USE_GTK2_TRUE@,#,g;
s,@USE_GTK2_FALSE@,,g;' gnubg.gtkrc.in > gnubg.gtkrc
Joern
pgpSUoHjNhIhw.pgp
Description: PGP signature