[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/11: build: Add 'HELP2MAN' silent rule.
From: |
Mathieu Lirzin |
Subject: |
08/11: build: Add 'HELP2MAN' silent rule. |
Date: |
Thu, 28 Jan 2016 15:32:43 +0000 |
mthl pushed a commit to branch master
in repository guix.
commit 8dddedf778f85c3356466ed028ff3c2c6fedb44f
Author: Mathieu Lirzin <address@hidden>
Date: Sun Jan 24 19:00:27 2016 +0100
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).
---
Makefile.am | 4 ++++
doc.am | 6 +++---
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 2fa1269..bc015e2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -488,3 +488,7 @@ AM_V_DOT_0 = @echo " DOT " $@;
AM_V_EMACS = $(AM_V_EMACS_$(V))
AM_V_EMACS_ = $(AM_V_EMACS_$(AM_DEFAULT_VERBOSITY))
AM_V_EMACS_0 = @echo " EMACS " $@;
+
+AM_V_HELP2MAN = $(AM_V_HELP2MAN_$(V))
+AM_V_HELP2MAN_ = $(AM_V_HELP2MAN_$(AM_DEFAULT_VERBOSITY))
+AM_V_HELP2MAN_0 = @echo " HELP2MAN" $@;
diff --git a/doc.am b/doc.am
index 045e930..8b8ecc7 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
- branch master updated (03675ca -> 8a76e5f), Mathieu Lirzin, 2016/01/28
- 01/11: tests: Use 'dummy-origin' for lint tests when possible., Mathieu Lirzin, 2016/01/28
- 02/11: lint: Remove an unneeded clause in 'check-patch-file-names'., Mathieu Lirzin, 2016/01/28
- 06/11: build: Add 'DOT' silent rule., Mathieu Lirzin, 2016/01/28
- 08/11: build: Add 'HELP2MAN' silent rule.,
Mathieu Lirzin <=
- 07/11: build: Add 'EMACS' silent rule., Mathieu Lirzin, 2016/01/28
- 05/11: build: Add 'DL' silent rule., Mathieu Lirzin, 2016/01/28
- 11/11: Update .gitignore., Mathieu Lirzin, 2016/01/28
- 04/11: packages: Use '@' in package record printers., Mathieu Lirzin, 2016/01/28
- 10/11: build: Use 'GEN' and 'at' silent rules., Mathieu Lirzin, 2016/01/28
- 09/11: build: Remove guix-autoloads.el from the distribution., Mathieu Lirzin, 2016/01/28
- 03/11: lint: Rewrite 'check-patch-file-names'., Mathieu Lirzin, 2016/01/28