From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: Program to build the on-line manuals (HTML + PDF) Date: Mon, 20 May 2019 23:52:53 +0200 Message-ID: <877eakiyiy.fsf@elephly.net> References: <87ftp9v2st.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:35134) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hSqTH-00044p-7j for guix-devel@gnu.org; Mon, 20 May 2019 18:09:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hSqTG-00016y-A6 for guix-devel@gnu.org; Mon, 20 May 2019 18:09:27 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21225) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hSqTG-00016I-1b for guix-devel@gnu.org; Mon, 20 May 2019 18:09:26 -0400 In-reply-to: <87ftp9v2st.fsf@gnu.org> 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: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org Ludovic Court=C3=A8s writes: > Here=E2=80=99s a build program I used to generate all the gnu.org/s/guix/= manual > hierarchy, with all the languages, HTML and PDF. > > You can drop in your Guix tree and run, say: > > GUIX_MANUAL_VERSION=3D1.0.1 guix build -f build.scm > > to build the manual for 1.0.1. Neat! It seems that this must be run from the =E2=80=9Cdoc=E2=80=9D directory, be= cause it assumes that the git repository root is in the parent directory of the current working directory. I haven=E2=80=99t been able to successfully run it yet. I=E2=80=99m on the= master branch and issued GUIX_MANUAL_VERSION=3D1.0.1 ../pre-inst-env guix build -f build.scm from within the =E2=80=9Cdoc=E2=80=9D directory, but this is what I get: --8<---------------cut here---------------start------------->8--- ;;; (repo "/home/rekado/dev/gx/branches/master/doc/..") guix build: error: failed to load 'build.scm': git/branch.scm:101:8: Git error: cannot locate remote-tracking branch 'orig= in/version-1.0.1' --8<---------------cut here---------------end--------------->8--- > Regarding PDFs, I failed to use something smaller than the big =E2=80=98t= exlive=E2=80=99 > package. I=E2=80=99d very much welcome help in that area! I=E2=80=99ll try to debug this and report back. --=20 Ricardo