snape pushed a commit to branch master
in repository guix.

commit 01d71f62224573ef2ab623a295f7e69656e9788f
Author: Clément Lassieur <[email protected]>
Date:   Tue May 30 08:56:34 2017 +0200

    gnu: sicp: Add the HTML version.
    
    * gnu/packages/scheme.scm (sicp)[arguments]: Copy the HTML directory to the
    output.
---
 gnu/packages/scheme.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm
index f6aee00..eacfd73 100644
--- a/gnu/packages/scheme.scm
+++ b/gnu/packages/scheme.scm
@@ -7,6 +7,7 @@
 ;;; Copyright © 2016 Jan Nieuwenhuizen <[email protected]>
 ;;; Copyright © 2016, 2017 ng0 <[email protected]>
 ;;; Copyright © 2017 John Darrington <[email protected]>
+;;; Copyright © 2017 Clément Lassieur <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -780,7 +781,9 @@ engineering.")
            (let ((gzip (assoc-ref %build-inputs "gzip"))
                  (source (assoc-ref %build-inputs "source"))
                  (texinfo (assoc-ref %build-inputs "texinfo"))
+                 (html-dir (string-append %output "/share/doc/" ,name "/html"))
                  (info-dir (string-append %output "/share/info")))
+             (copy-recursively (string-append source "/html") html-dir)
              (setenv "PATH" (string-append gzip "/bin"
                                            ":" texinfo "/bin"))
              (mkdir-p info-dir)

Reply via email to