diff options
author | Gerald Carter <jerry@samba.org> | 2003-01-15 16:32:06 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2003-01-15 16:32:06 +0000 |
commit | e4819ee88bfcdd90845bcbfbe8912afcb1095367 (patch) | |
tree | 8b37e07abde3dd71bcc8c35fd2e00807fd1fcfb4 | |
parent | c9fce34d0034555697d5c7b6a4b05306d08e1294 (diff) | |
download | samba-e4819ee88bfcdd90845bcbfbe8912afcb1095367.tar.gz samba-e4819ee88bfcdd90845bcbfbe8912afcb1095367.tar.bz2 samba-e4819ee88bfcdd90845bcbfbe8912afcb1095367.zip |
more unused files
(This used to be commit d223ea87ae202574714da5c4eadbe281f8699a80)
-rwxr-xr-x | source3/script/makeyodldocs.sh | 92 |
1 files changed, 0 insertions, 92 deletions
diff --git a/source3/script/makeyodldocs.sh b/source3/script/makeyodldocs.sh deleted file mode 100755 index 5b54df033e..0000000000 --- a/source3/script/makeyodldocs.sh +++ /dev/null @@ -1,92 +0,0 @@ -#!/bin/sh -SRCDIR=$1 -shift -FILES=$@ - -if test -z $FILES; then - FILES=*.yo -fi - -YODLDIR=$SRCDIR/../docs/yodldocs -MANPAGEDIR=$SRCDIR/../docs/manpages -HTMLDIR=$SRCDIR/../docs/htmldocs - -echo "Re-creating man pages and HTML pages from YODL sources..." - -if [ ! -d $MANPAGEDIR ]; then - echo "directory $MANPAGEDIR does not exist, are we in the right place?" - exit 1 -fi - -if [ ! -d $HTMLDIR ]; then - echo "directory $HTMLDIR does not exist, are we in the right place?" - exit 1 -fi - -if [ ! -d $YODLDIR ]; then - echo "directory $YODLDIR does not exist, are we in the right place?" - exit 1 -fi - -cd $YODLDIR - -for d in $FILES -do - -# -# Create the basename from the YODL manpage -# - bn=`echo $d | sed -e 's/\.yo//'` - - case "$d" - in - *.[0-9].yo) - echo "Creating man pages..." - echo $d - rm -f $bn.man - yodl2man $d - if [ ! -f $bn.man ]; then - echo "Failed to make man page for $d" - exit 1 - fi - cp $bn.man ../manpages/$bn || echo "Cannot create $YODLDIR/../manpages/$bn" - rm -f $bn.man - - echo "Creating html versions of man pages..." - echo $d - rm -f $bn.html - yodl2html $d - if [ ! -f $bn.html ]; then - echo "Failed to make html page for $d" - exit 1 - fi - cp $bn.html ../htmldocs || echo "Cannot create $YODLDIR/../htmldocs/$bn.html" - rm -f $bn.html - ;; - *) -# -# Non man-page YODL docs - just make html and text. -# - echo $d - rm -f $bn.html - yodl2html $d - if [ ! -f $bn.html ]; then - echo "Failed to make html page for $d" - exit 1 - 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 - -echo "Remember to CVS check in your changes..." -exit 0 |