guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: maint: Fix help2man for guix subcommands with `ma


From: guix-commits
Subject: branch master updated: maint: Fix help2man for guix subcommands with `make V=2'.
Date: Wed, 03 Apr 2024 10:21:51 -0400

This is an automated email from the git hooks/post-receive script.

janneke pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new df64d48e6f maint: Fix help2man for guix subcommands with `make V=2'.
df64d48e6f is described below

commit df64d48e6f9f648044aa5279c045b8d6f7bee604
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Wed Apr 3 16:16:00 2024 +0200

    maint: Fix help2man for guix subcommands with `make V=2'.
    
    * doc/local.mk ($(srcdir)/%D%/guix-%.1): Use AM_V_HELP2MAN and cater for
    make's `@' silencing at the start of the command.
    
    Change-Id: Id80c48f0d7697167fea64700a7fe140003732d28
---
 doc/local.mk | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/doc/local.mk b/doc/local.mk
index 0ff317a19e..8df003b891 100644
--- a/doc/local.mk
+++ b/doc/local.mk
@@ -232,10 +232,9 @@ $(srcdir)/%D%/guix.1: scripts/guix.in $(sub_commands_mans)
 # prerequisite is solely meant to force these docs to be made only after all
 # Guile modules have been compiled.  We also need the guix script to exist.
 $(srcdir)/%D%/guix-%.1: guix/scripts/%.scm $(GOBJECTS) scripts/guix
-       -@case '$?' in \
-         *$<*) $(AM_V_P) && set -x || echo "  HELP2MAN $@"; \
-               $(gen_man) --output="$@" "guix $*";; \
-         *)    : ;; \
+       -@case '$?' in                                                          
\
+         *$<*) $(AM_V_HELP2MAN:@%=%)$(gen_man) --output="$@" "guix $*";;       
\
+         *)    : ;;                                                            
\
        esac
 
 if BUILD_DAEMON



reply via email to

[Prev in Thread] Current Thread [Next in Thread]