From: Matt Birkholz Date: Mon, 24 Jul 2017 18:01:28 +0000 (-0700) Subject: src/Makefile.in (install-auxdir-top): noclobber optiondb,plugins.scm X-Git-Tag: mit-scheme-pucked-9.2.12~97 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=e20597e520106f10752f03cf237f5fbb7b980323;p=mit-scheme.git src/Makefile.in (install-auxdir-top): noclobber optiondb,plugins.scm --- 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