gnu: ocaml: Install man pages in share/man.
* gnu/packages/ocaml.scm (ocaml): Pass -mandir to configure.
This commit is contained in:
parent
223ed921f2
commit
56fab253e3
|
@ -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.
|
||||||
;;;
|
;;;
|
||||||
|
@ -47,7 +48,9 @@
|
||||||
;; OCaml uses "-prefix <prefix>" rather than the usual
|
;; OCaml uses "-prefix <prefix>" rather than the usual
|
||||||
;; "--prefix=<prefix>".
|
;; "--prefix=<prefix>".
|
||||||
(let ((out (assoc-ref outputs "out")))
|
(let ((out (assoc-ref outputs "out")))
|
||||||
(zero? (system* "./configure" "-prefix" out))))
|
(zero? (system* "./configure" "-prefix" out
|
||||||
|
"-mandir"
|
||||||
|
(string-append out "/share/man")))))
|
||||||
(alist-replace
|
(alist-replace
|
||||||
'build
|
'build
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
|
Loading…
Reference in New Issue