1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-14 05:05:53 +02:00

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

* gnu/packages/ocaml.scm (ocaml): Pass -mandir to configure.
This commit is contained in:
Mark H Weaver
2014-04-01 18:05:06 -04:00
parent 223ed921f2
commit 56fab253e3
+4 -1
View File
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013 Cyril Roelandt <tipecaml@gmail.com>
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -47,7 +48,9 @@
;; OCaml uses "-prefix <prefix>" rather than the usual
;; "--prefix=<prefix>".
(let ((out (assoc-ref outputs "out")))
(zero? (system* "./configure" "-prefix" out))))
(zero? (system* "./configure" "-prefix" out
"-mandir"
(string-append out "/share/man")))))
(alist-replace
'build
(lambda* (#:key outputs #:allow-other-keys)