mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 13:58:15 -05:00
gnu: sicp: Add the HTML version.
* gnu/packages/scheme.scm (sicp)[arguments]: Copy the HTML directory to the output.
This commit is contained in:
parent
3e9afff873
commit
01d71f6222
1 changed files with 3 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
||||||
;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
|
;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
|
||||||
;;; Copyright © 2016, 2017 ng0 <contact.ng0@cryptolab.net>
|
;;; Copyright © 2016, 2017 ng0 <contact.ng0@cryptolab.net>
|
||||||
;;; Copyright © 2017 John Darrington <jmd@gnu.org>
|
;;; Copyright © 2017 John Darrington <jmd@gnu.org>
|
||||||
|
;;; Copyright © 2017 Clément Lassieur <clement@lassieur.org>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -780,7 +781,9 @@ (define-public sicp
|
||||||
(let ((gzip (assoc-ref %build-inputs "gzip"))
|
(let ((gzip (assoc-ref %build-inputs "gzip"))
|
||||||
(source (assoc-ref %build-inputs "source"))
|
(source (assoc-ref %build-inputs "source"))
|
||||||
(texinfo (assoc-ref %build-inputs "texinfo"))
|
(texinfo (assoc-ref %build-inputs "texinfo"))
|
||||||
|
(html-dir (string-append %output "/share/doc/" ,name "/html"))
|
||||||
(info-dir (string-append %output "/share/info")))
|
(info-dir (string-append %output "/share/info")))
|
||||||
|
(copy-recursively (string-append source "/html") html-dir)
|
||||||
(setenv "PATH" (string-append gzip "/bin"
|
(setenv "PATH" (string-append gzip "/bin"
|
||||||
":" texinfo "/bin"))
|
":" texinfo "/bin"))
|
||||||
(mkdir-p info-dir)
|
(mkdir-p info-dir)
|
||||||
|
|
Loading…
Reference in a new issue