Skip to content

Commit

Permalink
configure: make man and share directories configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
eworm-de committed Mar 21, 2016
1 parent 7404106 commit 0a06a88
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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
Expand All @@ -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 ;;
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 0a06a88

Please sign in to comment.