summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-11-11 02:10:20 +0000
committerJeremy Allison <jra@samba.org>1998-11-11 02:10:20 +0000
commit51acfa91c1b33396f0ed729a7bce931a69057eed (patch)
tree7a6c24fe5cb593cae8c6bcce90a702eec8a3458f
parentcaa86e201b9f0ff352abe38c516bd81704cb9d6c (diff)
downloadsamba-51acfa91c1b33396f0ed729a7bce931a69057eed.tar.gz
samba-51acfa91c1b33396f0ed729a7bce931a69057eed.tar.bz2
samba-51acfa91c1b33396f0ed729a7bce931a69057eed.zip
Added code to copy smb.conf.5.html to the swat help directory.
Jeremy. (This used to be commit 3b2a32293b9da7bc6acd4dea3e54d98270495853)
-rwxr-xr-xsource3/script/makeyodldocs.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/script/makeyodldocs.sh b/source3/script/makeyodldocs.sh
index def0af345f..51151ec353 100755
--- a/source3/script/makeyodldocs.sh
+++ b/source3/script/makeyodldocs.sh
@@ -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
;;
*)