From e20597e520106f10752f03cf237f5fbb7b980323 Mon Sep 17 00:00:00 2001 From: Matt Birkholz Date: Mon, 24 Jul 2017 11:01:28 -0700 Subject: [PATCH] src/Makefile.in (install-auxdir-top): noclobber optiondb,plugins.scm --- src/Makefile.in | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/Makefile.in b/src/Makefile.in index 0e75b95e3..c568901cf 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -789,8 +789,14 @@ install-standard: install-auxdir-top install-auxdir-top: $(mkinstalldirs) $(DESTDIR)$(AUXDIR) - $(INSTALL_DATA) $(top_srcdir)/etc/optiondb.scm $(DESTDIR)$(AUXDIR)/. - $(INSTALL_DATA) $(top_srcdir)/etc/plugins.scm $(DESTDIR)$(AUXDIR)/. + @if ! test -e $(DESTDIR)$(AUXDIR)/optiondb.scm; then \ + $(INSTALL_DATA) $(top_srcdir)/etc/optiondb.scm \ + $(DESTDIR)$(AUXDIR)/.; \ + else echo "$(DESTDIR)$(AUXDIR)/optiondb.scm already exists"; fi + @if ! test -e $(DESTDIR)$(AUXDIR)/plugins.scm; then \ + $(INSTALL_DATA) $(top_srcdir)/etc/plugins.scm \ + $(DESTDIR)$(AUXDIR)/.; \ + else echo "$(DESTDIR)$(AUXDIR)/plugins.scm already exists"; fi $(INSTALL_DATA) lib/*.com $(DESTDIR)$(AUXDIR)/. .PHONY: default-target all all-native all-liarc macosx-app -- 2.25.1