From: Alejandro Colomar Date: Sun, 19 Jun 2022 22:32:49 +0000 (+0200) Subject: Makefile, README: Fix make all X-Git-Tag: man-pages-6.0-rc1~155 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2e16e0e9222642bbc20bf0b6bfb30fba0df45341;p=thirdparty%2Fman-pages.git Makefile, README: Fix make all `make all` should not install and even less uninstall. That's unintuitive, and might break stuff that we don't want to break. Instead, make it build all useful things that we can build, which right now is only the HTML pages, but in the future might include PDF pages. Reported-by: Ingo Schwarze Signed-off-by: Alejandro Colomar --- diff --git a/Makefile b/Makefile index cb1466370f..4f5bbe3a5f 100644 --- a/Makefile +++ b/Makefile @@ -181,9 +181,7 @@ MAN_SECTIONS := 0 1 2 3 4 5 6 7 8 .PHONY: all -all: - $(MAKE) uninstall - $(MAKE) install +all: build-html %/.: $(info INSTALL $(@D)/) diff --git a/README b/README index 484151773b..5e0dafd57b 100644 --- a/README +++ b/README @@ -30,9 +30,6 @@ To install only a specific man section (mandir) such as man3, use "make install-man3". Similar syntax can be used to uninstall a specific man section, such as man7: "make uninstall-man7". -"make" or "make all" will perform "make uninstall" followed by "make -install". - Consider using multiple threads (at least 2) when installing these man pages, as the Makefile is optimized for multiple threads: "make -j install".