From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 4HR1MD8wH2Xt5AAAauVa8A:P1 (envelope-from ) for ; Thu, 05 Oct 2023 23:53:03 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 4HR1MD8wH2Xt5AAAauVa8A (envelope-from ) for ; Thu, 05 Oct 2023 23:53:03 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5ACB054FB8 for ; Thu, 5 Oct 2023 23:53:03 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=Td5wlU4C; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1696542783; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=/Z/mNtiVdPMv5XX2S2wzubQhLP5nt3zNXt+473oAXhU=; b=iCLTf4UioZSgCWi688L7Yx/489rCpeA1ek4xImh0Ma+rtcpgblhl/2e62otQZy/0Z9M/qa drmqx5zFaLUm5dx8PziPNaFU2bw2zP7NJo4wz8uiUonOzhVmC6vqk3KVYmlLNr087EKCYs 9SAfW9WWZwL98JJfra+3vyiKj/fBypg8ramlQRptdKHnLf1IW2C+kdLXACUh1ywjgnvJwv 9o2v7w4aNOZC3u6NWxY187kcCbtUW26iq2kwj+451ngeFrHp6c2MXmd/8G/K/uLiGZm0JR n2Xoy8m5ZR5AAJq4lNdL5Uu+ThjGkgJiBiKc+NiAU2KyfEHzNjLbh2KOe7VxFQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1696542783; a=rsa-sha256; cv=none; b=ZTwL9Mp2IHB2C/4jZOEkUi4dHp4xdR3eXahXc36iAtn6vHTHxsY4yhwHEHmFpvAk7r2sUw ZOaaiFB9+aKaYEY85hgmOUQ4icXkYpGgMGG3jWHjD7j6AdYacnX+8v7GhjETB4Qtt6WxB1 v/ePAnKCbl/tC1VvFUYCqVMALBtbhhiRzrBUujWmYmFk2VuSUckXbAVas7spqfh0gvelme RsD1WPESyY9Cr1IrqPJsYvfFgX2cuohXXO4On+v9BOu5VQGi9eu210J4PPyYIbYD2C46h7 SuZrftpB+GtPEoI9vT5iTQkHu5AplaEb+6H1BQg4eCWilwx52ozp5x9EvHs8IQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=Td5wlU4C; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qoWGz-0006pf-AF; Thu, 05 Oct 2023 17:52:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qoWGy-0006pF-2z for guix-patches@gnu.org; Thu, 05 Oct 2023 17:52:44 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qoWGx-0000zI-Qt for guix-patches@gnu.org; Thu, 05 Oct 2023 17:52:43 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qoWHG-00039T-8E for guix-patches@gnu.org; Thu, 05 Oct 2023 17:53:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65479] [PATCH core-updates 10/61] gnu: docbook2x: Split documentation. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 05 Oct 2023 21:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65479 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Bruno Victal Cc: 65479@debbugs.gnu.org Received: via spool by 65479-submit@debbugs.gnu.org id=B65479.169654276112075 (code B ref 65479); Thu, 05 Oct 2023 21:53:02 +0000 Received: (at 65479) by debbugs.gnu.org; 5 Oct 2023 21:52:41 +0000 Received: from localhost ([127.0.0.1]:48801 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qoWGv-00038g-1Y for submit@debbugs.gnu.org; Thu, 05 Oct 2023 17:52:41 -0400 Received: from mail-qk1-x734.google.com ([2607:f8b0:4864:20::734]:49310) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qoWGs-00038E-AN for 65479@debbugs.gnu.org; Thu, 05 Oct 2023 17:52:40 -0400 Received: by mail-qk1-x734.google.com with SMTP id af79cd13be357-77432add7caso93954085a.2 for <65479@debbugs.gnu.org>; Thu, 05 Oct 2023 14:52:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696542734; x=1697147534; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=/Z/mNtiVdPMv5XX2S2wzubQhLP5nt3zNXt+473oAXhU=; b=Td5wlU4CHC56m6ZB/o2AcQY5UFWz8uJkdnFMfLsYHOIVbzge7VWWQtVuCfkiz63hFP 3MJh3Xbvs2aJ6ADcGYU+DYDfTzz0f/z7QLQMnmzHAkP1RG5llpAfAVXBTxuPkYAecDiW hoUztGpADIMuyL2lRj8+lYaPZterQQNpyo2tsS8eZ61cZJ047mfLUC73vyJL6Ur1MvLX TX3lYidq53vlPE6xwE0/BgzkdbR3nr8py3vjT17DVWAtFiatwgQrHCEzknhu7gMi0iAL ugZBQC/AIzHaJGmVcGWpSeNhOFFWVdWDkmNODLC9oO5K2Fw0k+Ef4PYQcrRAVZ7yIQlF uYiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696542734; x=1697147534; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=/Z/mNtiVdPMv5XX2S2wzubQhLP5nt3zNXt+473oAXhU=; b=k+JRbvu9T9lFEqUku5EWFu7oBKCroz4YkxLp1YC/ZsKL8X+8PlUdp4jOvmpCIc1a0n ooW3jz/lT3V4tvuPwCQn5OXSzxCOSYzSxxvSKSqOnyv1YsXGycezyR07ny4lEqRTNxmr ssoDn6D/3q5oKkZsOYqoEEAAPLZgAosGeQZzLZDd394TOaKmDaZPE3kr7dOLQvorcZTc FBWDMYp0N272louItTKVvRVAEhxvnq7t0vLmTL3X7KeSy/JrWsPIJ9ZrG5IeN8F+bBMe aic8zO4Fzt7xXNV0ZL3EMAAWKhvTpISLyAxg7gLsjHKxvhnrggG2IzDvhxy9MYOzWnK7 4z8A== X-Gm-Message-State: AOJu0YysXTYTkdqA9a3pAtwGUpXOINCy6lgzQ1Q0TXl2B1zDQGRCm1ut GSo/zzPyRMNRNSM8mK5ux1DG4hZ9/n4= X-Google-Smtp-Source: AGHT+IFPPRl1kmRYx1U5w+1N83Ot5Fm7O2amXyiPOrA6gJhSlVyTvSt+UwPbnb4Jk634Rsxhz/tCSg== X-Received: by 2002:a05:620a:2a10:b0:775:ed1e:26d8 with SMTP id o16-20020a05620a2a1000b00775ed1e26d8mr2690830qkp.31.1696542733780; Thu, 05 Oct 2023 14:52:13 -0700 (PDT) Received: from hurd (dsl-151-116.b2b2c.ca. [66.158.151.116]) by smtp.gmail.com with ESMTPSA id c2-20020a05620a134200b00767c961eb47sm796033qkl.43.2023.10.05.14.52.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 14:52:13 -0700 (PDT) From: Maxim Cournoyer In-Reply-To: <14a48854705a29c41699654199d3e24ccbccba49.1692830149.git.mirai@makinata.eu> (Bruno Victal's message of "Wed, 23 Aug 2023 23:35:02 +0100") References: <14a48854705a29c41699654199d3e24ccbccba49.1692830149.git.mirai@makinata.eu> Date: Thu, 05 Oct 2023 17:52:12 -0400 Message-ID: <87r0m8n3eb.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -5.12 X-Spam-Score: -5.12 X-Migadu-Queue-Id: 5ACB054FB8 X-TUID: H68ksse7PEx4 Hi, Bruno Victal writes: > * gnu/packages/docbook.scm (docbook2x)[arguments]<#:phases>: Add > 'split-outputs phase. > [outputs]: Add 'doc output. > --- > gnu/packages/docbook.scm | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/gnu/packages/docbook.scm b/gnu/packages/docbook.scm > index 2d1c1f00ad..37eaac0a59 100644 > --- a/gnu/packages/docbook.scm > +++ b/gnu/packages/docbook.scm > @@ -902,6 +902,12 @@ (define-public docbook2x > (add-after 'unpack 'autoreconf > (lambda _ > (invoke "autoreconf" "-vif"))) > + (add-after 'install 'split-outputs That's not a very descriptive phase name. I'd call it 'move-doc' as often used elsewhere. > + (lambda _ > + (let* ((old (string-append #$output "/share/doc")) > + (new (string-append #$output:doc "/share/doc"))) > + (mkdir-p (dirname new)) > + (rename-file old new)))) > (add-after 'install 'wrap-programs > (lambda* (#:key inputs outputs #:allow-other-keys) > (let* ((programs > @@ -958,6 +964,7 @@ (define-public docbook2x > docbook-xml-4.1.2 docbook-xml-4.2 docbook-xml-4.4 > docbook-xml-4.5 > groff-minimal libxml2)) > + (outputs '("out" "doc")) nitpick: the 'outputs' field conventionally appear before the build-system one. -- Thanks, Maxim