bug-guix
[Top][All Lists]
Advanced

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

bug#29727: changing contributing.texi does not trigger rebuild of “info”


From: Mathieu Lirzin
Subject: bug#29727: changing contributing.texi does not trigger rebuild of “info” target
Date: Mon, 15 Jan 2018 15:14:03 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Hello,

Ricardo Wurmus <address@hidden> writes:

> After modifying “doc/contributing.texi” the command “make info” does not
> rebuild “guix.info”.  “contributing.texi” is included from “guix.texi”.
>
> Only after touching “guix.texi” does “make info” rebuild “guix.info”.

Here is a fix for that.

>From 0bab7bb491aca9077f42a0ab4084040742440b1f Mon Sep 17 00:00:00 2001
From: Mathieu Lirzin <address@hidden>
Date: Mon, 15 Jan 2018 14:47:12 +0100
Subject: [PATCH] =?UTF-8?q?build:=20Declare=20=E2=80=9Cdoc/guix.texi?=
 =?UTF-8?q?=E2=80=9C=20dependencies.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This fixes bug#29727.

* doc/local.mk (%C%_guix_TEXINFOS): New variable containing files included by
“doc/guix.texi”.
(EXTRA_DIST): Remove ‘.texi’ files.
---
 doc/local.mk | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/doc/local.mk b/doc/local.mk
index dc48fc22b..397ade050 100644
--- a/doc/local.mk
+++ b/doc/local.mk
@@ -3,7 +3,7 @@
 # Copyright © 2012, 2013, 2014, 2015, 2016, 2017 Ludovic Courtès 
<address@hidden>
 # Copyright © 2013 Andreas Enge <address@hidden>
 # Copyright © 2016 Taylan Ulrich Bayırlı/Kammer <address@hidden>
-# Copyright © 2016 Mathieu Lirzin <address@hidden>
+# Copyright © 2016, 2018 Mathieu Lirzin <address@hidden>
 #
 # This file is part of GNU Guix.
 #
@@ -22,6 +22,10 @@
 
 info_TEXINFOS = %D%/guix.texi
 
+%C%_guix_TEXINFOS = \
+  %D%/contributing.texi \
+  %D%/fdl-1.3.texi
+
 DOT_FILES =                                    \
   %D%/images/bootstrap-graph.dot               \
   %D%/images/bootstrap-packages.dot            \
@@ -36,8 +40,6 @@ DOT_VECTOR_GRAPHICS =                         \
 
 EXTRA_DIST +=                                  \
   %D%/htmlxref.cnf                             \
-  %D%/contributing.texi                                \
-  %D%/fdl-1.3.texi                             \
   $(DOT_FILES)                                 \
   $(DOT_VECTOR_GRAPHICS)                       \
   %D%/images/coreutils-size-map.eps            \
-- 
2.15.1

Feel free to ping <address@hidden> for help when confronted with
similar issues.

-- 
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37

reply via email to

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