GNU Make (since version 4.4) provides the same functionality with
`--debug=print`. Remove this custom variable, which is now redundant
with the new option.
- Define .SILENT: unconditionally.
- Define HIDE_ERR unconditionally, and let the user redefine it to an
empty string. Document this.
Cc: Paul Smith <psmith@gnu.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
.PHONY: help-variables
help-variables:
- $(info V Define to non-empty string for verbose output)
- $(info )
$(info LINK_PAGES How to install link pages. [".so", "symlink"])
$(info Z Install pages compressed. ["", ".bz2", ".gz", ".lz", ".xz"])
$(info )
$(info DISTNAME $$(git describe))
$(info DISTVERSION /$$DISTNAME/s/man-pages-//)
$(info )
+ $(info HIDE_ERR Define to empty string to debug some errors)
+ $(info )
$(info # Directory variables:)
$(info )
$(info builddir .tmp)
Install - instructions for installing the pages into the system
Synopsis
- sudo make [-j] install [V=1] [prefix=ARG] [DESTDIR=ARG] [...]
+ sudo make [-j] install [prefix=ARG] [DESTDIR=ARG] [...]
Description
(a) Use a package manager
- DESTDIR
- prefix
- Use V=1 for a more verbose output from the makefiles:
-
- $ sudo make install V=1
-
Uninstall
You can uninstall the pages with the following command (but
see the "Caveats" section below):
MAKEFILE_VERBOSE_INCLUDED := 1
-ifdef V
-HIDE_ERR :=
-else
HIDE_ERR := 2>/dev/null
+
+
.SILENT:
-endif
endif # include guard