summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLudovic Courtès <[email protected]>2018-04-24 16:55:25 +0200
committerLudovic Courtès <[email protected]>2018-04-25 23:11:53 +0200
commit06c4778ae290c9f8de5f8ef1683cec14de8f2ebc (patch)
tree564800a446ab4be7923b63b450551a5521e6a0be /doc
parent0afeda65218ed0c82ab18762111c52a9fedd2582 (diff)
build: Add silent rules for Texinfo xref translation.
* Makefile.am (AM_V_POXREF, AM_V_POXREF_, AM_V_POXREF_0): New variables. * doc/local.mk ($(srcdir)/%D%/guix.%.texi) ($(srcdir)/%D%/contributing.%.texi): Use $(AM_V_POXREF).
Diffstat (limited to 'doc')
-rw-r--r--doc/local.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/local.mk b/doc/local.mk
index 64d18e121a..1bfc03aba8 100644
--- a/doc/local.mk
+++ b/doc/local.mk
@@ -1,6 +1,6 @@
# GNU Guix --- Functional package management for GNU
# Copyright © 2016 Eric Bavier <[email protected]>
-# Copyright © 2012, 2013, 2014, 2015, 2016, 2017 Ludovic Courtès <[email protected]>
+# Copyright © 2012, 2013, 2014, 2015, 2016, 2017, 2018 Ludovic Courtès <[email protected]>
# Copyright © 2013 Andreas Enge <[email protected]>
# Copyright © 2016 Taylan Ulrich Bayırlı/Kammer <[email protected]>
# Copyright © 2016, 2018 Mathieu Lirzin <[email protected]>
@@ -93,12 +93,12 @@ endef
$(srcdir)/%D%/guix.%.texi: po/doc/guix.%.po $(srcdir)/%D%/contributing.%.texi
-$(AM_V_PO4A)$(PO4A_TRANSLATE) $(PO4A_PARAMS) -m "%D%/guix.texi" -p "$<" -l "[email protected]"
-sed -i "s|guix\.info|$$(basename "$@" | sed 's|texi$$|info|')|" "[email protected]"
- -$(xref_command)
+ -$(AM_V_POXREF)$(xref_command)
-mv "[email protected]" "$@"
$(srcdir)/%D%/contributing.%.texi: po/doc/guix.%.po po/doc/contributing.%.po
-$(AM_V_PO4A)$(PO4A_TRANSLATE) $(PO4A_PARAMS) -m "%D%/contributing.texi" -p "$(word 2,$^)" -l "[email protected]"
- -$(xref_command)
+ -$(AM_V_POXREF)$(xref_command)
-mv "[email protected]" "$@"
%D%/os-config-%.texi: gnu/system/examples/%.tmpl