gnu: screen: Install docs in share/man and share/info.
* gnu/packages/screen.scm (screen): Add --mandir and --infodir configure flags.
This commit is contained in:
		
							parent
							
								
									0e4e89c28c
								
							
						
					
					
						commit
						f6b272fa18
					
				
					 1 changed files with 8 additions and 0 deletions
				
			
		|  | @ -1,5 +1,6 @@ | ||||||
| ;;; GNU Guix --- Functional package management for GNU | ;;; GNU Guix --- Functional package management for GNU | ||||||
| ;;; Copyright © 2013 Cyril Roelandt <tipecaml@gmail.com> | ;;; Copyright © 2013 Cyril Roelandt <tipecaml@gmail.com> | ||||||
|  | ;;; Copyright © 2014 Mark H Weaver <mhw@netris.org> | ||||||
| ;;; | ;;; | ||||||
| ;;; This file is part of GNU Guix. | ;;; This file is part of GNU Guix. | ||||||
| ;;; | ;;; | ||||||
|  | @ -39,6 +40,13 @@ | ||||||
|     (inputs |     (inputs | ||||||
|      `(("ncurses", ncurses) |      `(("ncurses", ncurses) | ||||||
|        ("perl" ,perl))) |        ("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/") |     (home-page "http://www.gnu.org/software/screen/") | ||||||
|     (synopsis "Full-screen window manager providing multiple terminals") |     (synopsis "Full-screen window manager providing multiple terminals") | ||||||
|     (description |     (description | ||||||
|  |  | ||||||
		Reference in a new issue