From ebcece704b34a276fae56a546133a15f75086cdd Mon Sep 17 00:00:00 2001 From: Daniel Dickman Date: Mon, 28 Dec 2020 09:40:09 -0500 Subject: configure: add -mandir option (#382) To control where man pages are installed. The default `/usr/local/share/man` is good for Linux but BSD prefers `/usr/local/man`. --- configure | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index 7cbb9d7d..b0d57823 100755 --- a/configure +++ b/configure @@ -18,6 +18,7 @@ prefix='/usr/local' bindir='$(PREFIX)/bin' libdir='$(PREFIX)/lib/compcert' +mandir='$(PREFIX)/share/man' coqdevdir='$(PREFIX)/lib/compcert/coq' toolprefix='' target='' @@ -85,6 +86,7 @@ Options: -prefix Install in /bin and /lib/compcert -bindir Install binaries in -libdir Install libraries in + -mandir Install man pages in -coqdevdir Install Coq development (.vo files) in -toolprefix Prefix names of tools ("gcc", etc) with -use-external-Flocq Use an already-installed Flocq library @@ -114,6 +116,8 @@ while : ; do bindir="$2"; shift;; -libdir|--libdir) libdir="$2"; shift;; + -mandir|--mandir) + mandir="$2"; shift;; -coqdevdir|--coqdevdir) coqdevdir="$2"; install_coqdev=true; shift;; -toolprefix|--toolprefix) @@ -614,7 +618,7 @@ cat > Makefile.config <