From 36a9b92edfda4c3d5f77096789e033e036869644 Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Tue, 1 Apr 2014 16:59:14 -0400 Subject: [PATCH 2/7] gnu: lua: Install man pages in share/man. * gnu/packages/lua.scm (lua): Use 'system*' instead of 'system'. Add INSTALL_MAN argument to 'make'. --- gnu/packages/lua.scm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm index 8394afb..991cfc6 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 ;;; Copyright © 2014 Raimon Grau +;;; Copyright © 2014 Mark H Weaver ;;; ;;; 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.") -- 1.8.4