GNU bug report logs - #64169
[guix-past] gnu: bakefile: Install HTML documentation.

Previous Next

Package: guix-patches;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Mon, 19 Jun 2023 14:51:01 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 64169 in the body.
You can then email your comments to 64169 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to ludo <at> gnu.org, rekado <at> elephly.net, efraim <at> flashner.co.il, guix-patches <at> gnu.org:
bug#64169; Package guix-patches. (Mon, 19 Jun 2023 14:51:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
New bug report received and forwarded. Copy sent to ludo <at> gnu.org, rekado <at> elephly.net, efraim <at> flashner.co.il, guix-patches <at> gnu.org. (Mon, 19 Jun 2023 14:51:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Subject: [guix-past] gnu: bakefile: Install HTML documentation.
Date: Mon, 19 Jun 2023 10:50:24 -0400
* 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 sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Wed, 21 Jun 2023 22:19:02 GMT) Full text and rfc822 format available.

Notification sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
bug acknowledged by developer. (Wed, 21 Jun 2023 22:19:02 GMT) Full text and rfc822 format available.

Message #10 received at 64169-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: rekado <at> elephly.net, 64169-done <at> debbugs.gnu.org, efraim <at> flashner.co.il
Subject: Re: [bug#64169] [guix-past] gnu: bakefile: Install HTML documentation.
Date: Thu, 22 Jun 2023 00:18:28 +0200
Maxim Cournoyer <maxim.cournoyer <at> gmail.com> skribis:

> * modules/past/packages/build-tools.scm (bakefile) [arguments]: Add
> install-html-doc phase.

Pushed, thanks!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 20 Jul 2023 11:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 338 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.