emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#64169: closed ([guix-past] gnu: bakefile: Install HTML documentation


From: GNU bug Tracking System
Subject: bug#64169: closed ([guix-past] gnu: bakefile: Install HTML documentation.)
Date: Wed, 21 Jun 2023 22:19:02 +0000

Your message dated Thu, 22 Jun 2023 00:18:28 +0200
with message-id <874jn05uiz.fsf@gnu.org>
and subject line Re: [bug#64169] [guix-past] gnu: bakefile: Install HTML 
documentation.
has caused the debbugs.gnu.org bug report #64169,
regarding [guix-past] gnu: bakefile: Install HTML documentation.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
64169: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64169
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- 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




--- End Message ---
--- Begin Message --- Subject: Re: [bug#64169] [guix-past] gnu: bakefile: Install HTML documentation. Date: Thu, 22 Jun 2023 00:18:28 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:

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

Pushed, thanks!


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]