all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Rafael Fontenelle <rafaelff@gnome.org>
To: Julien Lepiller <julien@lepiller.eu>
Cc: help-guix@gnu.org
Subject: Re: How to build only Guix Manual
Date: Mon, 2 Sep 2019 21:37:25 -0300	[thread overview]
Message-ID: <CAFPa+Sm6m1VVEAojobUzPsbxH58dAd+BTRe1o6y9_qqo+JaD6w@mail.gmail.com> (raw)
In-Reply-To: <20190902215757.326904a0@sybil.lepiller.eu>

Julien,

Thanks, it is helping me a lot to fix errors in anchors and references
already. 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).

See output of `make doc/guix.pt_BR.html' (it seems safe to ignore po4a
"seems outdated" messages):

  PO4A doc/contributing.pt_BR.texi
Your input po file po/doc/guix-manual.pt_BR.po seems outdated (The
amount of entries differ between files: 7994 is not 228
). Please consider running po4a-updatepo to refresh it.
  POXREF doc/contributing.pt_BR.texi
mv "doc/contributing.pt_BR.texi.tmp" "doc/contributing.pt_BR.texi"
  PO4A doc/guix.pt_BR.texi
Your input po file po/doc/guix-manual.pt_BR.po seems outdated (The
amount of entries differ between files: 7994 is not 8055
). Please consider running po4a-updatepo to refresh it.
sed -i "s|guix\.info|$(basename "doc/guix.pt_BR.texi" | sed
's|texi$|info|')|" "doc/guix.pt_BR.texi.tmp"
  POXREF doc/guix.pt_BR.texi
mv "doc/guix.pt_BR.texi.tmp" "doc/guix.pt_BR.texi"
Updating ./doc/version-pt_BR.texi
  MAKEINFO doc/guix.pt_BR.html
doc/guix.pt_BR.texi:10287: @include: could not find
os-config-bare-bones-pt_BR.texi
doc/guix.pt_BR.texi:10422: @include: could not find os-config-desktop-pt_BR.texi
doc/guix.pt_BR.texi:10429: @include: could not find
os-config-lightweight-desktop-pt_BR.texi
make: *** [Makefile:4228: doc/guix.pt_BR.html] Error 1

Any suggestion?

Em seg, 2 de set de 2019 às 17:04, Julien Lepiller
<julien@lepiller.eu> escreveu:
>
> Le Mon, 2 Sep 2019 16:41:22 -0300,
> Rafael Fontenelle <rafaelff@gnome.org> a écrit :
>
> > 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.
> >
> > What I've got so far found:
> > 1- doc/build.scm : line 9 : added "pt_BR" to the list of languages
> > 2- doc/local.mk : line 21 : added guix.pt_BR.texi to info_TEXINFOS
> > 3- doc/local.mk : line 34 : added guix/contributing.pt_BR.texi to
> > TRANSLATED_INFO
> > 4- po/doc/local.mk: line 58: added "guix-manual.pt_BR.po" to
> > DOC_PO_FILES
> >
> > Is there a way for me to build only the Guix Manual (not the
> > software)?
> >
> > Thanks in advance.
> >
> > 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. If you are
> running guix, you can simply run `guix environment guix` inside your
> current git checkout. Otherwise, you will need to install the required
> dependencies using your system package manager.
>
> Then, you can run:
>
> ./bootstrap
> ./configure --localstatedir=/var
>
> and to build only the manual:
>
> make doc/guix.pt_BR.info
>
> or
>
> make doc/guix.pt_BR.html

  reply	other threads:[~2019-09-03  0:38 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-02 19:41 How to build only Guix Manual Rafael Fontenelle
2019-09-02 19:57 ` Julien Lepiller
2019-09-03  0:37   ` Rafael Fontenelle [this message]
2019-09-03  8:16     ` Julien Lepiller
2019-09-03 11:08       ` Rafael Fontenelle
2019-09-03 11:33         ` Julien Lepiller
2019-09-03 12:03           ` Rafael Fontenelle
2019-10-17  6:18           ` Translating texinfo commands in Guix manual (was: Re: How to build only Guix Manual) Rafael Fontenelle
2019-10-17  7:33             ` pelzflorian (Florian Pelz)
2019-10-17  8:17               ` Rafael Fontenelle
2019-10-17  8:44                 ` pelzflorian (Florian Pelz)
2019-09-03  9:22   ` How to build only Guix Manual Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAFPa+Sm6m1VVEAojobUzPsbxH58dAd+BTRe1o6y9_qqo+JaD6w@mail.gmail.com \
    --to=rafaelff@gnome.org \
    --cc=help-guix@gnu.org \
    --cc=julien@lepiller.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.