--- 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)