From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Lepiller Subject: Re: How to build only Guix Manual Date: Tue, 03 Sep 2019 10:16:02 +0200 Message-ID: <29D826AB-D5B7-4902-80D3-FB9EACCA5CF9@lepiller.eu> References: <20190902215757.326904a0@sybil.lepiller.eu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:48297) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i53yy-0004I6-Of for help-guix@gnu.org; Tue, 03 Sep 2019 04:16:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i53yx-0004Uo-FA for help-guix@gnu.org; Tue, 03 Sep 2019 04:16:08 -0400 Received: from lepiller.eu ([2a00:5884:8208::1]:55230) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1i53yw-0004SM-Sl for help-guix@gnu.org; Tue, 03 Sep 2019 04:16:07 -0400 In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Rafael Fontenelle Cc: help-guix@gnu.org Le 3 septembre 2019 02:37:25 GMT+02:00, Rafael Fontenelle a =C3=A9crit : >Julien, > >Thanks, it is helping me a lot to fix errors in anchors and references >already=2E But the compilation is not successfully completing because >some os-config-* can not found -- indeed, I notice there is no >os-config-* in the build tree (no pt_BR neither English one)=2E > >See output of `make doc/guix=2Ept_BR=2Ehtml' (it seems safe to ignore po4= a >"seems outdated" messages): > > PO4A doc/contributing=2Ept_BR=2Etexi >Your input po file po/doc/guix-manual=2Ept_BR=2Epo seems outdated (The >amount of entries differ between files: 7994 is not 228 >)=2E Please consider running po4a-updatepo to refresh it=2E > POXREF doc/contributing=2Ept_BR=2Etexi >mv "doc/contributing=2Ept_BR=2Etexi=2Etmp" "doc/contributing=2Ept_BR=2Ete= xi" > PO4A doc/guix=2Ept_BR=2Etexi >Your input po file po/doc/guix-manual=2Ept_BR=2Epo seems outdated (The >amount of entries differ between files: 7994 is not 8055 >)=2E Please consider running po4a-updatepo to refresh it=2E >sed -i "s|guix\=2Einfo|$(basename "doc/guix=2Ept_BR=2Etexi" | sed >'s|texi$|info|')|" "doc/guix=2Ept_BR=2Etexi=2Etmp" > POXREF doc/guix=2Ept_BR=2Etexi >mv "doc/guix=2Ept_BR=2Etexi=2Etmp" "doc/guix=2Ept_BR=2Etexi" >Updating =2E/doc/version-pt_BR=2Etexi > MAKEINFO doc/guix=2Ept_BR=2Ehtml >doc/guix=2Ept_BR=2Etexi:10287: @include: could not find >os-config-bare-bones-pt_BR=2Etexi >doc/guix=2Ept_BR=2Etexi:10422: @include: could not find >os-config-desktop-pt_BR=2Etexi >doc/guix=2Ept_BR=2Etexi:10429: @include: could not find >os-config-lightweight-desktop-pt_BR=2Etexi >make: *** [Makefile:4228: doc/guix=2Ept_BR=2Ehtml] Error 1 > >Any suggestion? > >Em seg, 2 de set de 2019 =C3=A0s 17:04, Julien Lepiller > escreveu: >> >> Le Mon, 2 Sep 2019 16:41:22 -0300, >> Rafael Fontenelle a =C3=A9crit : >> >> > Hello, >> > >> > I'm translating Guix Manual to Brazilian Portuguese, and I want to >> > build only the documentation (not the software) in order to test my >> > translation=2E >> > >> > What I've got so far found: >> > 1- doc/build=2Escm : line 9 : added "pt_BR" to the list of languages >> > 2- doc/local=2Emk : line 21 : added guix=2Ept_BR=2Etexi to info_TEXIN= FOS >> > 3- doc/local=2Emk : line 34 : added guix/contributing=2Ept_BR=2Etexi = to >> > TRANSLATED_INFO >> > 4- po/doc/local=2Emk: line 58: added "guix-manual=2Ept_BR=2Epo" to >> > DOC_PO_FILES >> > >> > Is there a way for me to build only the Guix Manual (not the >> > software)? >> > >> > Thanks in advance=2E >> > >> > Best regards, >> > Rafael Fontenelle >> > >> >> Hi Rafael, >> >> thanks for taking the time to translate the manual! >> >> You can build the manual only by configuring the repository=2E If you >are >> running guix, you can simply run `guix environment guix` inside your >> current git checkout=2E Otherwise, you will need to install the >required >> dependencies using your system package manager=2E >> >> Then, you can run: >> >> =2E/bootstrap >> =2E/configure --localstatedir=3D/var >> >> and to build only the manual: >> >> make doc/guix=2Ept_BR=2Einfo >> >> or >> >> make doc/guix=2Ept_BR=2Ehtml I don't understand why they are not generated when building individual inf= o manuals=2E You can build these files with: make doc/os-config-bare-bones=2Etexi ect Note that we don't provide a way to translate these examples yet, so you'l= l have to use the English filename for now, or help us get them translated = :)