How to prevent automake from overwrting _DATA file
0
votes
1
answer
210
views
In Makefile.am we have:
bin_PROGRAMS = sample
sample_SOURCES = main.cpp
sampleconfdir = $(sysconfdir)/sample
sampleconf_DATA = sample.cfg
whenever I install the application using
make install
, the file sample.cfg gets overwritten. How to tell automake to skip copy if file is already present?
Asked by Ali Tavakol
(103 rep)
Feb 3, 2019, 05:10 AM
Last activity: Feb 3, 2019, 09:02 AM
Last activity: Feb 3, 2019, 09:02 AM