From 56fab253e3847af20412044932b428db733936ef Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Tue, 1 Apr 2014 18:05:06 -0400 Subject: [PATCH] gnu: ocaml: Install man pages in share/man. * gnu/packages/ocaml.scm (ocaml): Pass -mandir to configure. --- gnu/packages/ocaml.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 +;;; Copyright © 2014 Mark H Weaver ;;; ;;; This file is part of GNU Guix. ;;; @@ -47,7 +48,9 @@ ;; OCaml uses "-prefix " rather than the usual ;; "--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)