GNU logs - #46872, boring messages


Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#46872] [PATCH] doc: Define canned recipes for creating translated manuals.
Resent-From: Maxime Devos <maximedevos@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Tue, 02 Mar 2021 13:41:01 +0000
Resent-Message-ID: <handler.46872.B.16146924422288 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 46872
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 46872 <at> debbugs.gnu.org
X-Debbugs-Original-To: guix-patches@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.16146924422288
          (code B ref -1); Tue, 02 Mar 2021 13:41:01 +0000
Received: (at submit) by debbugs.gnu.org; 2 Mar 2021 13:40:42 +0000
Received: from localhost ([127.0.0.1]:52089 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lH5GT-0000ap-Lq
	for submit <at> debbugs.gnu.org; Tue, 02 Mar 2021 08:40:42 -0500
Received: from lists.gnu.org ([209.51.188.17]:59514)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maximedevos@HIDDEN>) id 1lH5GQ-0000ah-OH
 for submit <at> debbugs.gnu.org; Tue, 02 Mar 2021 08:40:40 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:51160)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <maximedevos@HIDDEN>)
 id 1lH5GQ-0005iL-H6
 for guix-patches@HIDDEN; Tue, 02 Mar 2021 08:40:38 -0500
Received: from laurent.telenet-ops.be ([2a02:1800:110:4::f00:19]:60462)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <maximedevos@HIDDEN>)
 id 1lH5GL-0003N0-SJ
 for guix-patches@HIDDEN; Tue, 02 Mar 2021 08:40:38 -0500
Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be
 ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d])
 by laurent.telenet-ops.be with bizsmtp
 id bRgU2400R0mfAB401RgUQn; Tue, 02 Mar 2021 14:40:29 +0100
Message-ID: <d26260fe4874eceb3956fbb81a69ebdaf1d41f2a.camel@HIDDEN>
From: Maxime Devos <maximedevos@HIDDEN>
Date: Tue, 02 Mar 2021 14:40:20 +0100
Content-Type: multipart/signed; micalg="pgp-sha256";
 protocol="application/pgp-signature"; boundary="=-E56icsV8j0KWhCTxMmVd"
User-Agent: Evolution 3.34.2 
MIME-Version: 1.0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21;
 t=1614692429; bh=R0yhp+9Oo3l3u2DdC31WwRnm2ZzlVbuvmcHWXZxavUY=;
 h=Subject:From:To:Date;
 b=arZ02Ma49V4axG8mNu1ESuBxrbu7Y9ugij8LjtB6FN4bivlN0MQU74G9eaQ2qe0JW
 x2BbOk4q/c471z9os3sFLl97Jgp3E1+LcJxkMXn51zg3FltqTxAxQ97jY/sJb7hQXf
 0sIrkUqNDyRj2yBeGUxT+5lFJ4KM5Ud2Y2LmaoYlPSMLMxp5rhkSz8iUGJ4HKGhZyR
 wTkEJwfhfX+lgD+1nPbnkKkuzN7iWtm/gKuLtY+M0D9SRI1fm7j8HQ85sALU5M0LQH
 XrxaJxFn8rdLbYmNlPHgKR+sssXI5Ps7FA2FYm1BDp988d1MhaFk8A36tnwBgj2DQf
 JxGNqijJcYxww==
Received-SPF: pass client-ip=2a02:1800:110:4::f00:19;
 envelope-from=maximedevos@HIDDEN; helo=laurent.telenet-ops.be
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)


--=-E56icsV8j0KWhCTxMmVd
Content-Type: multipart/mixed; boundary="=-dcd1kw3qst12R9yKajgW"


--=-dcd1kw3qst12R9yKajgW
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi Guix,

While looking at how to properly include the documentation
in the makefile in <https://issues.guix.gnu.org/46800>,
I noticed the build recipes for creating $MANUAL.%.texi
and $CHAPTER.%.texi are duplicated (modulo $MANUAL and $CHAPTER).

This patch should make defining new chapters and manuals in the
makefile somewhat simpler and less prone to errors (e.g. avoid
copy-paste + oops I forgot to change the .texinfo and .info file name).

Greetings,
Maxime.

--=-dcd1kw3qst12R9yKajgW
Content-Disposition: attachment;
	filename*0=0001-doc-Define-canned-recipes-for-creating-translated-ma.pat;
	filename*1=ch
Content-Transfer-Encoding: base64
Content-Type: text/x-patch;
	name="0001-doc-Define-canned-recipes-for-creating-translated-ma.patch";
	charset="UTF-8"

RnJvbSAxNDA1MDQwMjY4MDdhZjZkNGU5NDE1NGI2MjllZGI2YzdiZGYzYzI3IE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBNYXhpbWUgRGV2b3MgPG1heGltZWRldm9zQHRlbGVuZXQuYmU+
CkRhdGU6IFR1ZSwgMiBNYXIgMjAyMSAxNDoxMzo1OSArMDEwMApTdWJqZWN0OiBbUEFUQ0hdIGRv
YzogRGVmaW5lIGNhbm5lZCByZWNpcGVzIGZvciBjcmVhdGluZyB0cmFuc2xhdGVkIG1hbnVhbHMu
Ck1JTUUtVmVyc2lvbjogMS4wCkNvbnRlbnQtVHlwZTogdGV4dC9wbGFpbjsgY2hhcnNldD1VVEYt
OApDb250ZW50LVRyYW5zZmVyLUVuY29kaW5nOiA4Yml0CgpJdCBpcyBleHBlY3RlZCB0aGF0IGF0
IHNvbWUgcG9pbnQgaW4gdGhlIGZ1dHVyZSwgdGhlIG1hbnVhbCdzCnNvdXJjZSB3aWxsIGJlIHNw
bGl0IGluIHNldmVyYWwgZmlsZXMgcGVyLWNoYXB0ZXIuICBQcmV2ZW50CnRoZSBidWlsZCByZWNp
cGVzIGZyb20gZGl2ZXJnaW5nIGJ5IGRlZmluaW5nIGFuZCB1c2luZyB0d28K4oCYY2FubmVkIHJl
Y2lwZXPigJkgaW4gdGhlIG1ha2VmaWxlIGZvciB0cmFuc2xhdGluZyB0aGUgbWFudWFsCmFuZCBp
bmRpdmlkdWFsIGNoYXB0ZXJzLgoKKiBkb2MvbG9jYWwubWsKICAoZ3VpeC4lLnRleGksIGd1aXgt
Y29va2Jvb2suJS50ZXhpKTogbW92ZSByZWNpcGUgLi4uCiAgKHRyYW5zbGF0ZV9tYW51YWxfY29t
bWFuZ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FNUykgLW0gIiVEJS9jb250
cmlidXRpbmcudGV4aSIgLXAgIiQ8IiAtbCAiJEAudG1wIgotCS0kKEFNX1ZfUE9YUkVGKSQoeHJl
Zl9jb21tYW5kKQotCS1tdiAiJEAudG1wIiAiJEAiCisJJChjYWxsIHRyYW5zbGF0ZV9jaGFwdGVy
X2NvbW1hbmQsY29udHJpYnV0aW5nKQogCiAlRCUvb3MtY29uZmlnLSUudGV4aTogZ251L3N5c3Rl
bS9leGFtcGxlcy8lLnRtcGwKIAkkKEFNX1ZfR0VOKSQoTUtESVJfUCkgImBkaXJuYW1lICRAYCI7
CVwKLS0gCjIuMzAuMQoK


--=-dcd1kw3qst12R9yKajgW--

--=-E56icsV8j0KWhCTxMmVd
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----

iI0EABYIADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYD5ARBccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7hZiAQDv0HEaL94SgNQijRgTvOS+H4mP
xpFiojCw4GZij09+OwEAoqol8SvB4ti3BvfkU7GUeEQYX+aaSw6KoIIQaTRjVwA=
=x6m/
-----END PGP SIGNATURE-----

--=-E56icsV8j0KWhCTxMmVd--





Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Maxime Devos <maximedevos@HIDDEN>
Subject: bug#46872: Acknowledgement ([PATCH] doc: Define canned recipes
 for creating translated manuals.)
Message-ID: <handler.46872.B.16146924422288.ack <at> debbugs.gnu.org>
References: <d26260fe4874eceb3956fbb81a69ebdaf1d41f2a.camel@HIDDEN>
X-Gnu-PR-Message: ack 46872
X-Gnu-PR-Package: guix-patches
X-Gnu-PR-Keywords: patch
Reply-To: 46872 <at> debbugs.gnu.org
Date: Tue, 02 Mar 2021 13:41:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 guix-patches@HIDDEN

If you wish to submit further information on this problem, please
send it to 46872 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
46872: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D46872
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#46872] [PATCH] doc: Define canned recipes for creating translated manuals.
Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Thu, 20 Jan 2022 14:06:01 +0000
Resent-Message-ID: <handler.46872.B46872.164268752918344 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 46872
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: Maxime Devos <maximedevos@HIDDEN>
Cc: 46872 <at> debbugs.gnu.org
Received: via spool by 46872-submit <at> debbugs.gnu.org id=B46872.164268752918344
          (code B ref 46872); Thu, 20 Jan 2022 14:06:01 +0000
Received: (at 46872) by debbugs.gnu.org; 20 Jan 2022 14:05:29 +0000
Received: from localhost ([127.0.0.1]:56908 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nAY46-0004lh-76
	for submit <at> debbugs.gnu.org; Thu, 20 Jan 2022 09:05:29 -0500
Received: from hera.aquilenet.fr ([185.233.100.1]:49766)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1nAY41-0004lO-3L
 for 46872 <at> debbugs.gnu.org; Thu, 20 Jan 2022 09:05:25 -0500
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id 720838D4;
 Thu, 20 Jan 2022 15:05:14 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id eUArt3a5I9CR; Thu, 20 Jan 2022 15:05:13 +0100 (CET)
Received: from ribbon (91-160-117-201.subs.proxad.net [91.160.117.201])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id B8F3A224;
 Thu, 20 Jan 2022 15:05:12 +0100 (CET)
From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
References: <d26260fe4874eceb3956fbb81a69ebdaf1d41f2a.camel@HIDDEN>
Date: Thu, 20 Jan 2022 15:05:12 +0100
In-Reply-To: <d26260fe4874eceb3956fbb81a69ebdaf1d41f2a.camel@HIDDEN>
 (Maxime Devos's message of "Tue, 02 Mar 2021 14:40:20 +0100")
Message-ID: <874k5y8puv.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spamd-Bar: /
Authentication-Results: hera.aquilenet.fr;
	none
X-Rspamd-Server: hera
X-Rspamd-Queue-Id: 720838D4
X-Spamd-Result: default: False [-0.10 / 15.00]; ARC_NA(0.00)[];
 RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[];
 TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[];
 MIME_GOOD(-0.10)[multipart/mixed,text/plain,text/x-patch];
 RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[];
 MIME_TRACE(0.00)[0:+,1:+,2:+]; RCVD_COUNT_TWO(0.00)[2];
 RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]
X-Spam-Score: 1.0 (+)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi Maxime,

Maxime Devos <maximedevos@HIDDEN> skribis:

> From 140504026807af6d4e94154b629edb6c7bdf3c27 Mon Sep 17 00:00:00 2001
> From: Maxime Devos <maximedevos@HIDDEN>
> Date: Tue, 2 Mar 2021 14:13:59 +0100
> Subject: [PATCH] doc: Define canned recipes for creating translated manua=
ls.
> MIME-Version: 1.0
> Content-Type: text/plain; charset=3DUTF-8
> Content-Transfer-Encoding: 8bit
>
> It is expected that at some point in the future, the manual's
> source will be split in several files per-chapter.  Prevent
> the build recipes from diverging by defining and using two
> =E2=80=98canned recipes=E2=80=99 in the makefile for translating the manu=
al
> and individual chapters.
>
> * doc/local.mk
>   (guix.%.texi, guix-cookbook.%.texi): move recipe ...
>   (translate_manual_command): ... to here.
>   (contributing.%.texi): move recipe ...
>   (translate_chapter_command): ... to here.

This had fallen through the cracks.

I updated it so it applies on current master (see below).  However, it
doesn=E2=80=99t work as expected:

--8<---------------cut here---------------start------------->8---
$ rm -f doc/contributing.fr.texi
$ make doc/contributing.fr.texi
make: 'doc/contributing.fr.texi' is up to date.
$ ls -l doc/contributing.fr.texi
ls: ne eblas atingi 'doc/contributing.fr.texi': Dosiero a=C5=AD dosierujo n=
e ekzistas
--8<---------------cut here---------------end--------------->8---

If I inline the expansion of =E2=80=98translate_chapter_command=E2=80=99, e=
verything
works as expected.

My GNU Make is rusty and fuzzy, but I wonder if we can expand text that
includes tabs.  I vaguely remember that I=E2=80=99d usually define functions
that would expand the whole text: target/prerequisites + commands.

WDYT?

Ludo=E2=80=99.


--=-=-=
Content-Type: text/x-patch; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

diff --git a/doc/local.mk b/doc/local.mk
index 9619971296..627d27a5ef 100644
--- a/doc/local.mk
+++ b/doc/local.mk
@@ -5,6 +5,7 @@
 # Copyright =C2=A9 2016 Taylan Ulrich Bay=C4=B1rl=C4=B1/Kammer <taylanbayi=
rli@HIDDEN>
 # Copyright =C2=A9 2016, 2018 Mathieu Lirzin <mthl@HIDDEN>
 # Copyright =C2=A9 2018, 2021 Julien Lepiller <julien@HIDDEN>
+# Copyright =C2=A9 2021 Maxime Devos <maximedevos@HIDDEN>
 #
 # This file is part of GNU Guix.
 #
@@ -111,22 +112,33 @@ $(top_srcdir)/pre-inst-env $(GUILE) --no-auto-compile=
	\
   $@.tmp $<
 endef
=20
+# This canned recipe is used in the rules below to translate a Texinfo man=
ual
+# using the translations in po/doc.  The argument $(1) is the name of the
+# untranslated manual, without a .texi extension or directory prefixes.
+define translate_manual_command
+	-$(AM_V_PO4A)$(PO4A_TRANSLATE) $(PO4A_PARAMS) -m "%D%/$(1).texi" -p "$<" =
-l "$@.tmp"
+	-sed -i "s|$(1)\.info|$$(basename "$@" | sed 's|texi$$|info|')|" "$@.tmp"
+	-$(AM_V_POXREF)LC_ALL=3Den_US.UTF-8 $(xref_command)
+	-mv "$@.tmp" "$@"
+endef
+
+# Likewise, but for individual chapters (or sections), which do not have an
+# Info file name to modify.
+define translate_chapter_command
+	-$(AM_V_PO4A)$(PO4A_TRANSLATE) $(PO4A_PARAMS) -m "%D%/$(1).texi" -p "$<" =
-l "$@.tmp"
+	-$(AM_V_POXREF)LC_ALL=3Den_US.UTF-8 $(xref_command)
+	-mv "$@.tmp" "$@"
+endef
+
+
 $(srcdir)/%D%/guix.%.texi: po/doc/guix-manual.%.po $(srcdir)/%D%/contribut=
ing.%.texi guix/build/po.go
-	-$(AM_V_PO4A)$(PO4A_TRANSLATE) $(PO4A_PARAMS) -m "%D%/guix.texi" -p "$<" =
-l "$@.tmp"
-	-sed -i "s|guix\.info|$$(basename "$@" | sed 's|texi$$|info|')|" "$@.tmp"
-	-$(AM_V_POXREF)LC_ALL=3Den_US.UTF-8 $(xref_command)
-	-mv "$@.tmp" "$@"
+	$(call translate_manual_command,guix)
=20
 $(srcdir)/%D%/guix-cookbook.%.texi: po/doc/guix-cookbook.%.po guix/build/p=
o.go
-	-$(AM_V_PO4A)$(PO4A_TRANSLATE) $(PO4A_PARAMS) -m "%D%/guix-cookbook.texi"=
 -p "$<" -l "$@.tmp"
-	-sed -i "s|guix-cookbook\.info|$$(basename "$@" | sed 's|texi$$|info|')|"=
 "$@.tmp"
-	-$(AM_V_POXREF)LC_ALL=3Den_US.UTF-8 $(xref_command)
-	-mv "$@.tmp" "$@"
+	$(call translate_manual_command,guix-cookbook)
=20
 $(srcdir)/%D%/contributing.%.texi: po/doc/guix-manual.%.po guix/build/po.go
-	-$(AM_V_PO4A)$(PO4A_TRANSLATE) $(PO4A_PARAMS) -m "%D%/contributing.texi" =
-p "$<" -l "$@.tmp"
-	-$(AM_V_POXREF)LC_ALL=3Den_US.UTF-8 $(xref_command)
-	-mv "$@.tmp" "$@"
+	$(call translate_manual_chapter,contributing)
=20
 %D%/os-config-%.texi: gnu/system/examples/%.tmpl
 	$(AM_V_GEN)$(MKDIR_P) "`dirname $@`";	\

--=-=-=--





Last modified: Thu, 20 Jan 2022 14:15:02 UTC

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