mirror of
https://github.com/sudo-project/sudo.git
synced 2025-09-01 06:45:10 +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
|
AC_SUBST(LIBOBJS)dnl
|
||||||
TGETPASS="tgetpass.o"
|
TGETPASS="tgetpass.o"
|
||||||
AC_SUBST(TGETPASS)dnl
|
AC_SUBST(TGETPASS)dnl
|
||||||
MAN_PREFIX='$(prefix)/man'
|
prefix='/usr/local'
|
||||||
AC_SUBST(MAN_PREFIX)dnl
|
exec_prefix='$(prefix)'
|
||||||
|
man_prefix='$(prefix)/man'
|
||||||
|
AC_SUBST(man_prefix)dnl
|
||||||
MANTYPE="man"
|
MANTYPE="man"
|
||||||
MAN_POSTINSTALL=""
|
MAN_POSTINSTALL=""
|
||||||
AC_SUBST(MAN_POSTINSTALL)dnl
|
AC_SUBST(MAN_POSTINSTALL)dnl
|
||||||
@@ -171,15 +173,15 @@ case "$OS" in
|
|||||||
if test -z "$NROFFPROG" ; then
|
if test -z "$NROFFPROG" ; then
|
||||||
MAN_POSTINSTALL=' /bin/rm -f $(mandir)/sudo.$(mansect).z ; /usr/bin/pack $(mandir)/sudo.$(mansect)'
|
MAN_POSTINSTALL=' /bin/rm -f $(mandir)/sudo.$(mansect).z ; /usr/bin/pack $(mandir)/sudo.$(mansect)'
|
||||||
if test -d /usr/share/catman/local; then
|
if test -d /usr/share/catman/local; then
|
||||||
MAN_PREFIX="/usr/share/catman/local"
|
man_prefix="/usr/share/catman/local"
|
||||||
else
|
else
|
||||||
MAN_PREFIX="/usr/catman/local"
|
man_prefix="/usr/catman/local"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
if test -d "/usr/share/man/local" ; then
|
if test -d "/usr/share/man/local" ; then
|
||||||
MAN_PREFIX="/usr/share/man/local"
|
man_prefix="/usr/share/man/local"
|
||||||
else
|
else
|
||||||
MAN_PREFIX="/usr/man/local"
|
man_prefix="/usr/man/local"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
Reference in New Issue
Block a user