aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2014-04-01 16:59:14 -0400
committerMark H Weaver <mhw@netris.org>2014-04-02 11:27:21 -0400
commita2c03fb1afe133acba7593005e0aa4729960fc0e (patch)
treed8121c72b4c29f588bec24fd48f4828996795eae
parent0ad2f2e6e9a56d5fc3ac580ace631afbddd63b37 (diff)
downloadpatches-a2c03fb1afe133acba7593005e0aa4729960fc0e.tar
patches-a2c03fb1afe133acba7593005e0aa4729960fc0e.tar.gz
gnu: lua: Install man pages in share/man.
* gnu/packages/lua.scm (lua): Use 'system*' instead of 'system'. Add INSTALL_MAN argument to 'make'.
-rw-r--r--gnu/packages/lua.scm7
1 files changed, 5 insertions, 2 deletions
diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm
index 8394afb641..991cfc6e67 100644
--- a/gnu/packages/lua.scm
+++ b/gnu/packages/lua.scm
@@ -1,6 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013 Cyril Roelandt <tipecaml@gmail.com>
;;; Copyright © 2014 Raimon Grau <raimonster@gmail.com>
+;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -49,8 +50,10 @@
'install
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
- (zero? (system
- (string-append "make install INSTALL_TOP=" out)))))
+ (zero? (system* "make" "install"
+ (string-append "INSTALL_TOP=" out)
+ (string-append "INSTALL_MAN=" out
+ "/share/man/man1")))))
(alist-delete 'configure %standard-phases)))))
(home-page "http://www.lua.org/")
(synopsis "An embeddable scripting language.")