1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-29 21:47:30 +03:00

don't complain if the using_samba book is not in the tree

This commit is contained in:
Gerald Carter -
parent 6e82c9fdf9
commit 20603faf2c

View File

@ -71,13 +71,13 @@ done
done
# Install Using Samba book
# Install Using Samba book (but only if it is there)
if [ "x$BOOKDIR" != "x" ]; then
if [ "x$BOOKDIR" != "x" -a -f $SRCDIR../docs/htmldocs/using_samba/toc.html ]; then
# Create directories
for d in $BOOKDIR $BOOKDIR/figs $BOOKDIR/gifs; do
for d in $BOOKDIR $BOOKDIR/figs ; do
if [ ! -d $d ]; then
mkdir $d
if [ ! -d $d ]; then
@ -105,15 +105,6 @@ if [ "x$BOOKDIR" != "x" ]; then
chmod 0644 $FNAME
done
# Gifs
for f in $SRCDIR../docs/htmldocs/using_samba/gifs/*.gif; do
FNAME=$BOOKDIR/gifs/`basename $f`
echo $FNAME
cp $f $FNAME || echo Cannot install $FNAME. Does $USER have privileges?
chmod 0644 $FNAME
done
fi
cat << EOF