From 0e96e6ef305f97f9334b7884952cd1a8dfc9f8fd Mon Sep 17 00:00:00 2001 From: cake17 Date: Mon, 30 Mar 2015 19:29:07 +0200 Subject: [PATCH] follow #2575 | add -n to cp to avoid overwrites --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 9b092d1ab8..f03bbcf5c3 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # MakeFile for building all the docs at once. -# Inspired by the Makefile used by bazaar. +# Inspired by the Makefile used by bazaar. # http://bazaar.launchpad.net/~bzr-pqm/bzr/2.3/ PYTHON = python @@ -19,13 +19,13 @@ DEST = website # Clone the en/Makefile everywhere. SPHINX_DEPENDENCIES = $(foreach lang, $(LANGS), $(lang)/Makefile) -# Copy-paste the English Makefile everywhere it's needed. +# Copy-paste the English Makefile everywhere it's needed (if non existing). %/Makefile: en/Makefile - cp $< $@ + cp -n $< $@ # # The various formats the documentation can be created in. -# +# # Loop over the possible languages and call other build targets. # html: $(foreach lang, $(LANGS), html-$(lang))