mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 14:25:15 +00:00
MAN_PREFIX -> man_prefix
now sets prefix and exec_prefix
This commit is contained in:
14
configure.in
14
configure.in
@@ -20,8 +20,10 @@ LIBOBJS=""
|
||||
AC_SUBST(LIBOBJS)dnl
|
||||
TGETPASS="tgetpass.o"
|
||||
AC_SUBST(TGETPASS)dnl
|
||||
MAN_PREFIX='$(prefix)/man'
|
||||
AC_SUBST(MAN_PREFIX)dnl
|
||||
prefix='/usr/local'
|
||||
exec_prefix='$(prefix)'
|
||||
man_prefix='$(prefix)/man'
|
||||
AC_SUBST(man_prefix)dnl
|
||||
MANTYPE="man"
|
||||
MAN_POSTINSTALL=""
|
||||
AC_SUBST(MAN_POSTINSTALL)dnl
|
||||
@@ -171,15 +173,15 @@ case "$OS" in
|
||||
if test -z "$NROFFPROG" ; then
|
||||
MAN_POSTINSTALL=' /bin/rm -f $(mandir)/sudo.$(mansect).z ; /usr/bin/pack $(mandir)/sudo.$(mansect)'
|
||||
if test -d /usr/share/catman/local; then
|
||||
MAN_PREFIX="/usr/share/catman/local"
|
||||
man_prefix="/usr/share/catman/local"
|
||||
else
|
||||
MAN_PREFIX="/usr/catman/local"
|
||||
man_prefix="/usr/catman/local"
|
||||
fi
|
||||
else
|
||||
if test -d "/usr/share/man/local" ; then
|
||||
MAN_PREFIX="/usr/share/man/local"
|
||||
man_prefix="/usr/share/man/local"
|
||||
else
|
||||
MAN_PREFIX="/usr/man/local"
|
||||
man_prefix="/usr/man/local"
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
|
Reference in New Issue
Block a user