guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/05: build: Add silent rules for Texinfo xref translation.


From: Ludovic Courtès
Subject: 01/05: build: Add silent rules for Texinfo xref translation.
Date: Wed, 25 Apr 2018 17:12:00 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 06c4778ae290c9f8de5f8ef1683cec14de8f2ebc
Author: Ludovic Courtès <address@hidden>
Date:   Tue Apr 24 16:55:25 2018 +0200

    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).
---
 Makefile.am  | 4 ++++
 doc/local.mk | 6 +++---
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 86528e8..9f134c9 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -800,3 +800,7 @@ AM_V_HELP2MAN_0 = @echo "  HELP2MAN" $@;
 AM_V_PO4A = $(AM_V_PO4A_$(V))
 AM_V_PO4A_ = $(AM_V_PO4A_$(AM_DEFAULT_VERBOSITY))
 AM_V_PO4A_0 = @echo "  PO4A" $@;
+
+AM_V_POXREF = $(AM_V_POXREF_$(V))
+AM_V_POXREF_ = $(AM_V_POXREF_$(AM_DEFAULT_VERBOSITY))
+AM_V_POXREF_0 = @echo "  POXREF" $@;
diff --git a/doc/local.mk b/doc/local.mk
index 64d18e1..1bfc03a 100644
--- a/doc/local.mk
+++ b/doc/local.mk
@@ -1,6 +1,6 @@
 # GNU Guix --- Functional package management for GNU
 # Copyright © 2016 Eric Bavier <address@hidden>
-# Copyright © 2012, 2013, 2014, 2015, 2016, 2017 Ludovic Courtès 
<address@hidden>
+# Copyright © 2012, 2013, 2014, 2015, 2016, 2017, 2018 Ludovic Courtès 
<address@hidden>
 # Copyright © 2013 Andreas Enge <address@hidden>
 # Copyright © 2016 Taylan Ulrich Bayırlı/Kammer <address@hidden>
 # Copyright © 2016, 2018 Mathieu Lirzin <address@hidden>
@@ -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 "address@hidden"
        -sed -i "s|guix\.info|$$(basename "$@" | sed 's|texi$$|info|')|" 
"address@hidden"
-       -$(xref_command)
+       -$(AM_V_POXREF)$(xref_command)
        -mv "address@hidden" "$@"
 
 $(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 "address@hidden"
-       -$(xref_command)
+       -$(AM_V_POXREF)$(xref_command)
        -mv "address@hidden" "$@"
 
 %D%/os-config-%.texi: gnu/system/examples/%.tmpl



reply via email to

[Prev in Thread] Current Thread [Next in Thread]