GNU bug report logs - #29727
changing contributing.texi does not trigger rebuild of “info” target

Previous Next

Package: guix;

Reported by: Ricardo Wurmus <rekado <at> elephly.net>

Date: Fri, 15 Dec 2017 23:59:01 UTC

Severity: normal

Tags: patch

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


Message #8 received at 29727 <at> debbugs.gnu.org (full text, mbox):

From: Mathieu Lirzin <mthl <at> gnu.org>
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: 29727 <at> debbugs.gnu.org
Subject: Re: bug#29727: changing contributing.texi does not trigger rebuild
 of “info” target
Date: Mon, 15 Jan 2018 15:14:03 +0100
[Message part 1 (text/plain, inline)]
Hello,

Ricardo Wurmus <rekado <at> elephly.net> 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.

[0001-build-Declare-doc-guix.texi-dependencies.patch (text/x-patch, inline)]
From 0bab7bb491aca9077f42a0ab4084040742440b1f Mon Sep 17 00:00:00 2001
From: Mathieu Lirzin <mthl <at> gnu.org>
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 <ludo <at> gnu.org>
 # Copyright © 2013 Andreas Enge <andreas <at> enge.fr>
 # Copyright © 2016 Taylan Ulrich Bayırlı/Kammer <taylanbayirli <at> gmail.com>
-# Copyright © 2016 Mathieu Lirzin <mthl <at> gnu.org>
+# Copyright © 2016, 2018 Mathieu Lirzin <mthl <at> gnu.org>
 #
 # 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

[Message part 3 (text/plain, inline)]
Feel free to ping <automake <at> gnu.org> for help when confronted with
similar issues.

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

This bug report was last modified 7 years and 188 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.