From mboxrd@z Thu Jan 1 00:00:00 1970 From: Miguel Subject: [PATCH 1/2] bootstrap: Break automake dependency on generated files. (was Re: =?UTF-8?B?TGV04oCZcw==?= translate!) Date: Tue, 23 Apr 2019 02:43:42 +0200 Message-ID: <20190423024342.1abcff62@gmail.com> References: <87zhovlztm.fsf@gnu.org> <87wojyllbk.fsf@riseup.net> <20190423024234.706dcc8a@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/nkerIDdAHQHKFzNoCLH.pXm" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:53373) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hIjcS-0007cq-2i for guix-devel@gnu.org; Mon, 22 Apr 2019 20:49:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hIjcQ-0004m2-O1 for guix-devel@gnu.org; Mon, 22 Apr 2019 20:49:08 -0400 In-Reply-To: <20190423024234.706dcc8a@gmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Julien Lepiller Cc: guix-devel@gnu.org --MP_/nkerIDdAHQHKFzNoCLH.pXm Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline --MP_/nkerIDdAHQHKFzNoCLH.pXm Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=0001-bootstrap-Break-automake-dependency-on-generated-fil.patch >From c5ed65b04c412a97674dd9129a0cac10500fdf7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20=C3=81ngel=20Arruga=20Vivas?= Date: Tue, 23 Apr 2019 00:21:44 +0200 Subject: [PATCH 1/2] bootstrap: Break automake dependency on generated files. * bootstrap: Generate stub files for the manual translations whose generated files are not included in the VCS. --- bootstrap | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/bootstrap b/bootstrap index cb774bc737..62f6cb0fab 100755 --- a/bootstrap +++ b/bootstrap @@ -2,4 +2,16 @@ # Create the build system. set -e -x + +# Generate stubs for translations. +langs=`find po/doc -type f -name '*.po' \ + | sed -e 's,guix-manual\.,,' \ + | xargs -n 1 -I{} basename {} .po` +for lang in ${langs}; do + if [ ! -e "doc/guix.${lang}.texi" ]; then + echo "@setfilename guix.${lang}.info" > "doc/guix.${lang}.texi" + echo "@include version-${lang}.texi" >> "doc/guix.${lang}.texi" + fi +done + exec autoreconf -vfi -- 2.21.0 --MP_/nkerIDdAHQHKFzNoCLH.pXm--