Added code to copy smb.conf.5.html to the swat help directory.
authorJeremy Allison <jra@samba.org>
Wed, 11 Nov 1998 02:10:20 +0000 (02:10 +0000)
committerJeremy Allison <jra@samba.org>
Wed, 11 Nov 1998 02:10:20 +0000 (02:10 +0000)
Jeremy.

source/script/makeyodldocs.sh

index def0af345f9502faa93194ffe2e878ad9017da39..51151ec35384a7f4ea1ade417b6ac119a364bf33 100755 (executable)
@@ -55,6 +55,14 @@ do
                                exit 1
                        fi
                        cp $bn.html ../htmldocs || echo "Cannot create $YODLDIR/../htmldocs/$bn.html"
+#
+# Copy to SWAT directory.
+#
+                       if [ $bn = "smb.conf.5" ]; then
+                               rm -f ../../swat/help/smb.conf.5.html || echo "Cannot remove ../../swat/help/smb.conf.5.html"
+
+                               cp $bn.html ../../swat/help || echo "Cannot copy smb.conf.5.html to ../../swat/help/smb.conf.5.html"
+                       fi
                        rm -f $bn.html
                        ;;
                *)