fi
if test ! -d $SRCDIR../docs/manpages; then
- echo "No manpages present. SVN development version maybe?"
+ echo "No manpages present. Development version maybe?"
exit 0
fi
# Get the configured feature set
test -f "${SRCDIR}/config.log" && \
- eval $( grep "^[[:alnum:]]*=.*" "${SRCDIR}/config.log")
+ eval `grep "^[[:alnum:]_]*=.*" "${SRCDIR}/config.log"`
for lang in $langs; do
if [ "X$lang" = XC ]; then
for sect in 1 5 7 8 ; do
for m in $langdir/man$sect ; do
for s in $SRCDIR../docs/manpages/$lang/*$sect; do
- MP_BASENAME=${s##*/}
+ MP_BASENAME=`basename $s`
# Check if this man page if required by the configured feature set
case "${MP_BASENAME}" in
+ cifs.upcall.8) test -z "${CIFSUPCALL_PROGS}" && continue ;;
smbsh.1) test -z "${SMBWRAPPER}" && continue ;;
*) ;;
esac