gnu: expect: Install man pages in share/man.

* gnu/packages/tcl.scm (expect): Add --mandir configure flag.
  Use 'let' to simplify configure flags generation.
This commit is contained in:
Mark H Weaver 2014-04-01 17:56:57 -04:00
parent 7575778969
commit 988cecfd4f

View file

@ -95,14 +95,12 @@ (define-public expect
("tcl" ,tcl))) ("tcl" ,tcl)))
(arguments (arguments
'(#:configure-flags '(#:configure-flags
(list (string-append "--with-tcl=" (let ((out (assoc-ref %outputs "out"))
(assoc-ref %build-inputs "tcl") (tcl (assoc-ref %build-inputs "tcl")))
"/lib") (list (string-append "--with-tcl=" tcl "/lib")
(string-append "--with-tclinclude=" (string-append "--with-tclinclude=" tcl "/include")
(assoc-ref %build-inputs "tcl") (string-append "--exec-prefix=" out)
"/include") (string-append "--mandir=" out "/share/man")))
(string-append "--exec-prefix="
(assoc-ref %outputs "out")))
#:phases (alist-cons-before #:phases (alist-cons-before
'configure 'set-path-to-stty 'configure 'set-path-to-stty