|
From: | Reuben Thomas |
Subject: | bug#31157: Advice for help2man does not work for parallel builds |
Date: | Sun, 22 Apr 2018 14:57:26 +0100 |
> $(srcdir)/foo.1: foo.c foo$(EXEEXT)
> address@hidden '$?' in \
> *foo.c*)
> $(AM_V_P) && set -x || echo " HELP2MAN $@"; \
> LANGUAGE= help2man --output="$(srcdir)/foo.1" ./foo$(EXEEXT);; \
> *) : ;; \
> esac;
>
> Nice! The one thing I don't understand: why is "-" needed at the start
> (i.e. why do we need to ignore failure of this command?).
I don't recall exactly the reason Guix added it, I guess it was to allow
the build to "succeed" even if the man pages generation failed since
that doesn't impact the software to run. However I am not sure if it's
a good idea.
IIUC this case silently ignores when the ‘beetle.1’ is not distributed,
[Prev in Thread] | Current Thread | [Next in Thread] |