]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
*.mk: Remove 'V' variable
authorAlejandro Colomar <alx@kernel.org>
Sun, 27 Aug 2023 22:07:40 +0000 (00:07 +0200)
committerAlejandro Colomar <alx@kernel.org>
Sun, 27 Aug 2023 22:10:45 +0000 (00:10 +0200)
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>
GNUmakefile
INSTALL
share/mk/verbose.mk

index 8c8352dbae88b75f4f10baf2a708daf20644c813..4dbde8732491ff80b12b76b68a187976ff0d9c2b 100644 (file)
@@ -142,14 +142,14 @@ $(MK):: ;
 
 .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)
diff --git a/INSTALL b/INSTALL
index 80071e0ee5a45f952299132a66f8c457f0d1ce46..d351aa1a364de7e112030dc8d8ca95aac076a713 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -2,7 +2,7 @@ Name
        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
@@ -53,10 +53,6 @@ Description
            -  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):
index 2cc4450ad2fb8b5a1ac6f33e4ae7d2034ece0f04..c1bc1feedc1ed5bf974c808a759ed561c8b3d60e 100644 (file)
@@ -8,12 +8,10 @@ ifndef MAKEFILE_VERBOSE_INCLUDED
 MAKEFILE_VERBOSE_INCLUDED := 1
 
 
-ifdef V
-HIDE_ERR :=
-else
 HIDE_ERR := 2>/dev/null
+
+
 .SILENT:
-endif
 
 
 endif  # include guard