[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: config files
From: rik () kde ! org
Date: 2001-01-05 15:06:53
[Download RAW message or body]
#if Oswald Buddenhagen
> hi there,
>
> what is the best way to install default config files?
> most people seem to do this by using data_DATA and changing the
> installation directory manually. but this is evil, as it overwrites
> already existing files. this is not suitable for config files, i think.
>
> do we need a new automake primary _CONF to implement this? could this
> be done with am_edit?
You're supposed to put config defaults into your app. When you
read config entries, you specify the default, e.g.
config->readUnsignedNumEntry("CrashDelay", 1);
Rik
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic