Skip to content

Commit

Permalink
Merge pull request cakephp#2576 from cakephp/master-makefile
Browse files Browse the repository at this point in the history
follow cakephp#2575 | add -n to cp to avoid overwrites
  • Loading branch information
markstory committed Mar 30, 2015
2 parents d8b780f + 0e96e6e commit adf7d3b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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))
Expand Down

0 comments on commit adf7d3b

Please sign in to comment.