From 861f385008d6c7f4a1a03f66589d34e974f0a341 Mon Sep 17 00:00:00 2001 From: Pierre Letouzey Date: Thu, 23 Jun 2016 14:13:18 +0200 Subject: 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. --- Makefile.doc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Makefile.doc') 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 -- cgit v1.2.3