automake
[Top][All Lists]
Advanced

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

How not to override existing file


From: Sean MacLennan
Subject: How not to override existing file
Date: Sat, 31 Aug 2002 15:52:10 -0400

Hi,

I am a beginner to automake. I have setup a simple automake/autoconf
for the GoFish project <http://gofish.sourceforge.net>. The project
has a .conf file. I have the following line in the Makefile.am:

  sysconf_DATA = gofish.conf

This works great at installing the conf file. Now I want to change it
so it will not overwrite an exiting file. Preferably, if the file does
not exist, it will be installed. If it does, the file will be
installed as gofish.conf.new but leave the old file alone.

Thanks,
   Sean MacLennan





reply via email to

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