vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 32e34db382ea6f2f204347c2da61685e35fc3ec1 parent fd936c5c669c545baa65edd69ab9055af8df8c30 Author: Christian Hesse <mail@eworm.de> Date: Mon, 21 Mar 2016 14:20:57 +0100 configure: make man and share directories configurable Diffstat:
| M | configure | | | 10 | ++++++++-- |
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/configure b/configure @@ -19,6 +19,8 @@ Installation directories: Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] + --sharedir=DIR share directories [PREFIX/share] + --mandir=DIR man pages [PREFIX/share/man] Optional features: --enable-lua build with Lua support [auto] @@ -107,6 +109,8 @@ srcdir= prefix=/usr/local exec_prefix='$(prefix)' bindir='$(exec_prefix)/bin' +sharedir='$(prefix)/share' +mandir='$(prefix)/share/man' lua=auto selinux=auto @@ -119,6 +123,8 @@ case "$arg" in --prefix=*) prefix=${arg#*=} ;; --exec-prefix=*) exec_prefix=${arg#*=} ;; --bindir=*) bindir=${arg#*=} ;; +--sharedir=*) sharedir=${arg#*=} ;; +--mandir=*) mandir=${arg#*=} ;; --enable-lua|--enable-lua=yes) lua=yes ;; --disable-lua|--enable-lua=no) lua=no ;; --enable-selinux|--enable-selinux=yes) selinux=yes ;; @@ -420,8 +426,8 @@ srcdir = $srcdir prefix = $prefix exec_prefix = $exec_prefix bindir = $bindir -MANPREFIX = $prefix/share/man -SHAREPREFIX = $prefix/share/vis +MANPREFIX = $mandir +SHAREPREFIX = $sharedir CC = $CC CFLAGS = $CFLAGS CFLAGS_STD = $CFLAGS_STD