[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How not to override existing file
From: |
Tom Tromey |
Subject: |
Re: How not to override existing file |
Date: |
31 Aug 2002 14:32:12 -0600 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
>>>>> "Sean" == Sean MacLennan <address@hidden> writes:
Sean> sysconf_DATA = gofish.conf
Sean> This works great at installing the conf file. Now I want to
Sean> change it so it will not overwrite an exiting file. Preferably,
Sean> if the file does not exist, it will be installed. If it does,
Sean> the file will be installed as gofish.conf.new but leave the old
Sean> file alone.
There's no automatic way to do this.
But you can write an install-local rule and do it by hand.
Tom