all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: 64169@debbugs.gnu.org
Cc: Maxim Cournoyer <maxim.cournoyer@gmail.com>,
	ludo@gnu.org, rekado@elephly.net, efraim@flashner.co.il
Subject: [bug#64169] [guix-past] gnu: bakefile: Install HTML documentation.
Date: Mon, 19 Jun 2023 10:50:24 -0400	[thread overview]
Message-ID: <20230619145024.26050-1-maxim.cournoyer@gmail.com> (raw)

* modules/past/packages/build-tools.scm (bakefile) [arguments]: Add
install-html-doc phase.
---
Sorry, I missed that the main doc was HTML *and* not installed by
default in my original submission.

 modules/past/packages/build-tools.scm | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/modules/past/packages/build-tools.scm b/modules/past/packages/build-tools.scm
index 01cd42a..28d7de9 100644
--- a/modules/past/packages/build-tools.scm
+++ b/modules/past/packages/build-tools.scm
@@ -46,7 +46,16 @@
               ;; Clean up the source from random binaries.
               (snippet '(delete-file "build/mac-python2.3.tar.gz"))))
     (build-system gnu-build-system)
-    (arguments (list #:configure-flags #~(list "--enable-maintainer-mode")))
+    (arguments
+     (list
+      #:configure-flags #~(list "--enable-maintainer-mode")
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'install 'install-html-doc
+            (lambda _
+              (let ((doc (string-append #$output "/share/doc/bakefile")))
+                (mkdir-p doc)
+                (copy-recursively "doc/html" doc)))))))
     ;; No Python 3 support on the horizon (see:
     ;; https://github.com/vslavik/bakefile/issues/109).
     (native-inputs

base-commit: 497a38fb396e16788d770eccc29a0154e9bdfb41
-- 
2.40.1





             reply	other threads:[~2023-06-19 14:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-19 14:50 Maxim Cournoyer [this message]
2023-06-21 22:18 ` bug#64169: [guix-past] gnu: bakefile: Install HTML documentation 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=20230619145024.26050-1-maxim.cournoyer@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=64169@debbugs.gnu.org \
    --cc=efraim@flashner.co.il \
    --cc=ludo@gnu.org \
    --cc=rekado@elephly.net \
    /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.