aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile.doc
diff options
context:
space:
mode:
authorGravatar Pierre Letouzey <pierre.letouzey@inria.fr>2016-06-23 14:13:18 +0200
committerGravatar Pierre Letouzey <pierre.letouzey@inria.fr>2016-06-23 14:27:17 +0200
commit861f385008d6c7f4a1a03f66589d34e974f0a341 (patch)
treee2ea1243447e7ec5e69e65b202715efe371084e0 /Makefile.doc
parent28c118aa3a82c03a18a31b802674e1f56b693796 (diff)
Makefile.doc: fix 'make doc'
Now, only 'phony' targets could be declared just via dependencies. For 'real-file' targets such as doc/refman/html/index.html, there should be a concrete production rule.
Diffstat (limited to 'Makefile.doc')
-rw-r--r--Makefile.doc4
1 files changed, 1 insertions, 3 deletions
diff --git a/Makefile.doc b/Makefile.doc
index 6c345025a..aa6e478a8 100644
--- a/Makefile.doc
+++ b/Makefile.doc
@@ -203,9 +203,7 @@ 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): refman-html-dir
-
-refman-html-dir: doc/refman/Reference-Manual.html $(REFMANPNGFILES) \
+refman-html-dir $(ALLINDEXES): 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