summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2023-02-28 12:47:42 +0100
committerRicardo Wurmus <rekado@elephly.net>2023-02-28 13:46:54 +0100
commit23a2faf5c9797fcb9404723156edd76b1a9e3cd8 (patch)
tree82ba6af6e1ed56c973c42c5cab464b6e5adb5868
parentb8f6cffb1151fc44da4e66e7a1ea0070b8984111 (diff)
downloadguix-23a2faf5c9797fcb9404723156edd76b1a9e3cd8.tar.gz
gnu: sugar-help-activity: Build English HTML.
* gnu/packages/sugar.scm (sugar-help-activity)[arguments]: Replace 'build
phase to generate HTML files.
[native-inputs]: Add python-sphinx.
-rw-r--r--gnu/packages/sugar.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/sugar.scm b/gnu/packages/sugar.scm
index 1257f6607a..04c7bc5fe2 100644
--- a/gnu/packages/sugar.scm
+++ b/gnu/packages/sugar.scm
@@ -32,6 +32,7 @@
   #:use-module (gnu packages python-web)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages search)
+  #:use-module (gnu packages sphinx)
   #:use-module (gnu packages time)
   #:use-module (gnu packages webkit)
   #:use-module (gnu packages xorg)
@@ -377,12 +378,15 @@ the Sugar Toolkit.")
                   (("exec = sugar-activity3")
                    (string-append "exec = "
                                   (search-input-file inputs "/bin/sugar-activity3"))))))
+            (replace 'build
+              (lambda _ (invoke "make" "html")))
             (replace 'install
               (lambda _
                 (invoke "python" "setup.py" "install"
                         (string-append "--prefix=" #$output)))))))
       (native-inputs
-       (list sugar-toolkit-gtk3))
+       (list sugar-toolkit-gtk3
+             python-sphinx))
       (home-page "https://github.com/sugarlabs/help-activity")
       (synopsis "Sugar activity for accessing documentation and manuals")
       (description "This is an activity for the Sugar environment which aims