bug-automake
[Top][All Lists]
Advanced

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

Add 'dontoverwrite_' prefix for, e.g., configuration files?


From: Simon Josefsson
Subject: Add 'dontoverwrite_' prefix for, e.g., configuration files?
Date: Wed, 10 Dec 2003 22:54:09 +0100
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

I have some configuration files:

confdir = $(CONFDIR)
conf_DATA = shishi.conf shisa.conf

During 'make install' they overwrite the currently installed copies,
if they are present.  Would it possible to do something like:

confdir = $(CONFDIR)
dontoverwrite_conf_DATA = shishi.conf shisa.conf

Which would make the Makefile snippet check if the file already exist,
and only install the file when it doesn't exist?

Other ideas on solving this problem would be appreciated, of course.

Thanks.





reply via email to

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