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:
parent
7575778969
commit
988cecfd4f
|
@ -95,14 +95,12 @@
|
||||||
("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
|
||||||
|
|
Loading…
Reference in New Issue