[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: gnu: guile-gdbm-ffi: Install documentation.
From: |
Tobias Geerinckx-Rice |
Subject: |
02/02: gnu: guile-gdbm-ffi: Install documentation. |
Date: |
Wed, 13 Dec 2017 07:31:25 -0500 (EST) |
nckx pushed a commit to branch master
in repository guix.
commit 4168ddf689b3b7a176afd08c2c924f8e7ebb8c20
Author: Tobias Geerinckx-Rice <address@hidden>
Date: Wed Dec 13 06:23:51 2017 +0100
gnu: guile-gdbm-ffi: Install documentation.
* gnu/packages/guile.scm (guile-gdbm-ffi)[arguments]: Install README.md and
some examples. Tidy up MKDIR-P calls.
---
gnu/packages/guile.scm | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
index 90630e8..c0fda71 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -15,6 +15,7 @@
;;; Copyright © 2017 Mathieu Othacehe <address@hidden>
;;; Copyright © 2017 Theodoros Foradis <address@hidden>
;;; Copyright © 2017 ng0 <address@hidden>
+;;; Copyright © 2017 Tobias Geerinckx-Rice <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1074,13 +1075,16 @@ inspired by the SCSH regular expression system.")
(compile-file
(lambda (in-file out-file)
(system* guild "compile" "-o" out-file in-file))))
- ;; Make installation directories.
- (mkdir-p module-dir)
- (mkdir-p doc)
-
;; Switch directory for compiling and installing
(chdir source)
+ ;; Install the documentation.
+ (install-file "README.md" doc)
+ (copy-recursively "examples" (string-append doc "/examples"))
+
+ ;; Make installation directories.
+ (mkdir-p module-dir)
+
;; copy the source
(copy-file "gdbm.scm" gdbm.scm-dest)