]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
> Omit html documentation tree because it has been moved to the separate
authorRafal Szczesniak <mimir@samba.org>
Wed, 12 Nov 2003 21:47:25 +0000 (21:47 +0000)
committerRafal Szczesniak <mimir@samba.org>
Wed, 12 Nov 2003 21:47:25 +0000 (21:47 +0000)
> module. Install though, in case one recreates the tree as it was before.
>
>
> rafal

Same as in SAMBA_3_0 source tree.

rafal

source/script/installswat.sh

index be0cdf3eef801ba427cf686f4d82262962812218..534c2d761fbe3eb7c45a308aee91aa1615015013 100755 (executable)
@@ -64,12 +64,15 @@ done
 
 # Install html documentation
 
-for f in $SRCDIR../docs/htmldocs/*.html; do
-      FNAME=$SWATDIR/help/`basename $f`
-      echo $FNAME
-      cp $f $FNAME || echo Cannot install $FNAME. Does $USER have privileges?
-      chmod 0644 $FNAME
-done
+if [ -d $SRCDIR../docs/htmldocs/ ]; then
+
+    for f in $SRCDIR../docs/htmldocs/*.html; do
+       FNAME=$SWATDIR/help/`basename $f`
+       echo $FNAME
+       cp $f $FNAME || echo Cannot install $FNAME. Does $USER have privileges?
+       chmod 0644 $FNAME
+    done
+fi
 
 # Install Using Samba book (but only if it is there)