aboutsummaryrefslogtreecommitdiff
path: root/doc.am
diff options
context:
space:
mode:
authorMathieu Lirzin <mthl@gnu.org>2016-01-24 19:00:27 +0100
committerMathieu Lirzin <mthl@gnu.org>2016-01-28 16:31:38 +0100
commit8dddedf778f85c3356466ed028ff3c2c6fedb44f (patch)
tree89f70ebb69ead6362172d3c858a8df15c8d93d1f /doc.am
parent71ed439b6804e82877f63093ee101a2f1e12c77a (diff)
downloadpatches-8dddedf778f85c3356466ed028ff3c2c6fedb44f.tar
patches-8dddedf778f85c3356466ed028ff3c2c6fedb44f.tar.gz
build: Add 'HELP2MAN' silent rule.
* Makefile.am (AM_V_HELP2MAN, AM_V_HELP2MAN_, AM_V_HELP2MAN_0): New variables. * doc.am (subcommand-manual-target, doc/guix.1, doc/guix-daemon.1): Use $(AM_V_HELP2MAN).
Diffstat (limited to 'doc.am')
-rw-r--r--doc.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc.am b/doc.am
index 045e93056c..8b8ecc7a8b 100644
--- a/doc.am
+++ b/doc.am
@@ -95,19 +95,19 @@ dvi-local: ps-local
# Manual pages.
doc/guix.1: $(SUBCOMMANDS:%=guix/scripts/%.scm)
- -LANGUAGE= $(top_builddir)/pre-inst-env \
+ -$(AM_V_HELP2MAN)LANGUAGE= $(top_builddir)/pre-inst-env \
$(HELP2MAN) --output="$@" guix
# Note: Do not depend on 'guix-daemon' since that would trigger a rebuild even
# for people building from a tarball.
doc/guix-daemon.1: nix/nix-daemon/guix-daemon.cc
- -LANGUAGE= $(top_builddir)/pre-inst-env \
+ -$(AM_V_HELP2MAN)LANGUAGE= $(top_builddir)/pre-inst-env \
$(HELP2MAN) --output="$@" guix-daemon
define subcommand-manual-target
doc/guix-$(1).1: guix/scripts/$(1).scm
- -LANGUAGE= $(top_builddir)/pre-inst-env \
+ -$$(AM_V_HELP2MAN)LANGUAGE= $(top_builddir)/pre-inst-env \
$(HELP2MAN) --output="$$@" "guix $(1)"
endef