From f6b272fa18b75b53ee1456c53cb479a03914e1cd Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Thu, 20 Mar 2014 03:47:31 -0400 Subject: gnu: screen: Install docs in share/man and share/info. * gnu/packages/screen.scm (screen): Add --mandir and --infodir configure flags. --- gnu/packages/screen.scm | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gnu/packages/screen.scm') diff --git a/gnu/packages/screen.scm b/gnu/packages/screen.scm index bb11c58fc1..58ee42a2a2 100644 --- a/gnu/packages/screen.scm +++ b/gnu/packages/screen.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2013 Cyril Roelandt +;;; Copyright © 2014 Mark H Weaver ;;; ;;; This file is part of GNU Guix. ;;; @@ -39,6 +40,13 @@ (inputs `(("ncurses", ncurses) ("perl" ,perl))) + (arguments + `(#:configure-flags + ;; By default, man and info pages are put in PREFIX/{man,info}, + ;; but we want them in PREFIX/share/{man,info}. + (let ((out (assoc-ref %outputs "out"))) + (list (string-append "--mandir=" out "/share/man") + (string-append "--infodir=" out "/share/info"))))) (home-page "http://www.gnu.org/software/screen/") (synopsis "Full-screen window manager providing multiple terminals") (description -- cgit v1.2.3