# HG changeset patch # User paugier # Date 1737987222 -3600 # Node ID 07ac8528eed8202ceb9a8e9d51b780a131a814f2 # Parent 3d86baf182a58a86b783eda4d26753c5ad8dc35f doc: fix doc build when using `make -C doc` as in the main Makefile diff -r 3d86baf182a5 -r 07ac8528eed8 doc/Makefile --- 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)