autoconf
[Top][All Lists]
Advanced

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

Preventing Overwriting Of Config Files


From: Ollie Cook
Subject: Preventing Overwriting Of Config Files
Date: Sat, 4 May 2002 14:26:27 +0100
User-agent: Mutt/1.3.25i

Hi,

I have a small project which has a 'conf'' directory, containing
this Makefile.am:

  EXTRA_DIST = eximstate.conf
  sysconf_DATA = eximstate.conf eximstated.conf

  (eximstated.conf is generated from eximstated.conf.in, hence is
   not in EXTRA_DIST)

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

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

Cheers,

Ollie

-- 
Oliver Cook    Systems Administrator, ClaraNET
address@hidden               020 7903 3065



reply via email to

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