autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Preventing Overwriting Of Config Files


From: Tom Tromey
Subject: Re: Preventing Overwriting Of Config Files
Date: 06 May 2002 22:44:47 -0600

>>>>> "Ollie" == Ollie Cook <address@hidden> writes:

[ FYI: automake questions should probably go to the automake list ]

Ollie>   EXTRA_DIST = eximstate.conf
Ollie>   sysconf_DATA = eximstate.conf eximstated.conf

Ollie> When 'make install' is run, eximstated.conf and eximstate.conf are
Ollie> copied to sysconfdir, even if pre-existing (and probably modified)
Ollie> versions of the configurations files already exist.

Ollie> Is there a way to only install these files if they don't already
Ollie> exist?

Not a canned method.  You can use noinst_DATA and install them by hand
in an install-exec-local rule though.

For this case we really need a pre-install hook.  There's already an
automake PR for this (automake/25).

Tom



reply via email to

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