me
/
guix
Archived
1
0
Fork 0

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
master
Janneke Nieuwenhuizen 2024-04-03 16:16:00 +02:00
parent 1dbe492b99
commit df64d48e6f
No known key found for this signature in database
GPG Key ID: F3C1A0D9C1D65273
1 changed files with 3 additions and 4 deletions

View File

@ -233,8 +233,7 @@ $(srcdir)/%D%/guix.1: scripts/guix.in $(sub_commands_mans)
# 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 $*";; \
*$<*) $(AM_V_HELP2MAN:@%=%)$(gen_man) --output="$@" "guix $*";; \
*) : ;; \
esac