GNU bug report logs -
#27153
gnu: sicp: Add the HTML version.
Previous Next
Full log
View this message in rfc822 format
* 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 f6aee005c..eacfd733d 100644
--- a/gnu/packages/scheme.scm
+++ b/gnu/packages/scheme.scm
@@ -7,6 +7,7 @@
;;; Copyright © 2016 Jan Nieuwenhuizen <janneke <at> gnu.org>
;;; Copyright © 2016, 2017 ng0 <contact.ng0 <at> cryptolab.net>
;;; Copyright © 2017 John Darrington <jmd <at> gnu.org>
+;;; Copyright © 2017 Clément Lassieur <clement <at> lassieur.org>
;;;
;;; 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)
--
2.13.0
This bug report was last modified 7 years and 356 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.