aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile.doc
diff options
context:
space:
mode:
authorGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2012-01-03 13:29:28 +0000
committerGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2012-01-03 13:29:28 +0000
commita718b6674846fd5b51201a02af5eaeb609da1da3 (patch)
tree783fd03d7478a1ca2bf94ba3cc083bd5ede2d705 /Makefile.doc
parenteac541bd018ad0fb68c06626da82184fe99230c9 (diff)
Makefile.doc: attempt to solve race condition for creating doc/refman/html.
Indeed, $INDEXURLS requires files from $INDEXES to be built and all of these files plus target doc/refman/html/index.html ask in parallel to erase and rebuild the doc/refman/html. Tried to use an intermediate phony target to factorize the rebuilding of doc/refman/html. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@14872 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'Makefile.doc')
-rw-r--r--Makefile.doc6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.doc b/Makefile.doc
index a8356f469..5dfcd6fa3 100644
--- a/Makefile.doc
+++ b/Makefile.doc
@@ -12,7 +12,7 @@
######################################################################
.PHONY: doc doc-html doc-pdf doc-ps refman refman-quick tutorial
-.PHONY: stdlib full-stdlib faq rectutorial
+.PHONY: stdlib full-stdlib faq rectutorial refman-html-dir
INDEXURLS:=doc/refman/html/index_urls.txt
@@ -126,7 +126,9 @@ doc/refman/styles.hva: doc/common/styles/html/$(HTMLSTYLE)/styles.hva
INDEXES:= doc/refman/html/command-index.html doc/refman/html/tactic-index.html
ALLINDEXES:= doc/refman/html/index.html $(INDEXES)
-$(ALLINDEXES): doc/refman/Reference-Manual.html $(REFMANPNGFILES) \
+$(ALLINDEXES): refman-html-dir
+
+refman-html-dir: doc/refman/Reference-Manual.html $(REFMANPNGFILES) \
doc/refman/cover.html doc/refman/styles.hva doc/refman/index.html
- rm -rf doc/refman/html
$(MKDIR) doc/refman/html