aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJanneke Nieuwenhuizen <janneke@gnu.org>2024-04-03 16:16:00 +0200
committerJanneke Nieuwenhuizen <janneke@gnu.org>2024-04-03 16:19:47 +0200
commitdf64d48e6f9f648044aa5279c045b8d6f7bee604 (patch)
treed34571d08131e23e6f6106b07bcc2ea36f97b963 /doc
parent1dbe492b993a7629df3b35146ce0272b52913776 (diff)
downloadguix-df64d48e6f9f648044aa5279c045b8d6f7bee604.tar
guix-df64d48e6f9f648044aa5279c045b8d6f7bee604.tar.gz
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
Diffstat (limited to 'doc')
-rw-r--r--doc/local.mk7
1 files 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