changeset 52726:07ac8528eed8

doc: fix doc build when using `make -C doc` as in the main Makefile
author paugier <pierre.augier@univ-grenoble-alpes.fr>
date Mon, 27 Jan 2025 15:13:42 +0100
parents 3d86baf182a5
children 77061208eafe
files doc/Makefile
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/doc/Makefile	Wed Jan 29 23:10:12 2025 +0100
+++ b/doc/Makefile	Mon Jan 27 15:13:42 2025 +0100
@@ -29,6 +29,8 @@
 
 .PHONY: all man html install clean knownrefs
 
+all: man html
+
 # Generate a list of hg commands and extensions.
 commandlist.txt: $(GENDOC)
 	${GENDOCCMD} commandlist > $@.tmp
@@ -135,7 +137,7 @@
 # - help topics: topic-foo (html), hgfoo (man)
 # - extensions: ext-foo (html), hgext-foo (man)
 #
-# Man pages for commands are in section 1 (user commands), topics and 
+# Man pages for commands are in section 1 (user commands), topics and
 # extensions are in section 7 (miscellanea)
 #
 # NOTE: topics and extension are temporarily disabled for man pages because
@@ -158,9 +160,6 @@
 # Also add the HTML index page
 HTML+=$(HTMLOUT)/index.html
 
-
-all: man html
-
 man: $(MAN)
 
 html: $(HTML)