summaryrefslogtreecommitdiff
path: root/source3/script
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-11-11 23:25:51 +0000
committerJeremy Allison <jra@samba.org>1998-11-11 23:25:51 +0000
commitf49b994aeb987ac87c3c49f35ae1e05a7004f75d (patch)
treea0421163cc2a5aa3d9919577f845c2a88b181a94 /source3/script
parente41badad782f8a723d8037384f536df50295f288 (diff)
downloadsamba-f49b994aeb987ac87c3c49f35ae1e05a7004f75d.tar.gz
samba-f49b994aeb987ac87c3c49f35ae1e05a7004f75d.tar.bz2
samba-f49b994aeb987ac87c3c49f35ae1e05a7004f75d.zip
rpc_server/srv_netlog.c: Fixed crash bug with ACB_PWNOTREQ.
script/makeyodldocs.sh: Added code to make text docs for non-man page YODL docs. web/cgi.c web/swat.c: SGI compiler warnings fixed. Jeremy. (This used to be commit 80e0f7e1071f032c5004aecb01a91d1397e6a161)
Diffstat (limited to 'source3/script')
-rwxr-xr-xsource3/script/makeyodldocs.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/source3/script/makeyodldocs.sh b/source3/script/makeyodldocs.sh
index 16a905c6e1..c943224fe5 100755
--- a/source3/script/makeyodldocs.sh
+++ b/source3/script/makeyodldocs.sh
@@ -67,7 +67,7 @@ do
;;
*)
#
-# Non man-page YODL docs - just make html.
+# Non man-page YODL docs - just make html and text.
#
echo $d
rm -f $bn.html
@@ -78,6 +78,14 @@ do
fi
cp $bn.html ../htmldocs || echo "Cannot create $YODLDIR/../htmldocs/$bn.html"
rm -f $bn.html
+ rm -f $bn.txt
+ yodl2txt $d
+ if [ ! -f $bn.txt ]; then
+ echo "Failed to make text page for $d"
+ exit 1
+ fi
+ cp $bn.txt ../textdocs || echo "Cannot create $YODLDIR/../textdocs/$bn.txt"
+ rm -f $bn.txt
;;
esac
done