Le Mon, 2 Sep 2019 16:41:22 -0300, Rafael Fontenelle <[email protected]> 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
