* [bug#64169] [guix-past] gnu: bakefile: Install HTML documentation.
@ 2023-06-19 14:50 Maxim Cournoyer
2023-06-21 22:18 ` bug#64169: " Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Maxim Cournoyer @ 2023-06-19 14:50 UTC (permalink / raw)
To: 64169; +Cc: Maxim Cournoyer, ludo, rekado, efraim
* 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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-06-21 22:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-19 14:50 [bug#64169] [guix-past] gnu: bakefile: Install HTML documentation Maxim Cournoyer
2023-06-21 22:18 ` bug#64169: " Ludovic Courtès
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.