aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2014-04-01 18:05:06 -0400
committerMark H Weaver <mhw@netris.org>2014-04-02 11:28:10 -0400
commit56fab253e3847af20412044932b428db733936ef (patch)
tree64786b4229ff699d55555e3904c66ed1fabe9d40
parent223ed921f2d6c5893a89b5c64211ce2306e1cc11 (diff)
downloadgnu-guix-56fab253e3847af20412044932b428db733936ef.tar
gnu-guix-56fab253e3847af20412044932b428db733936ef.tar.gz
gnu: ocaml: Install man pages in share/man.
* gnu/packages/ocaml.scm (ocaml): Pass -mandir to configure.
-rw-r--r--gnu/packages/ocaml.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index f6bb9f7488..bcd4c196c5 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -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)