summaryrefslogtreecommitdiff
path: root/source/script
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2000-12-21 23:27:51 +0000
committerTim Potter <tpot@samba.org>2000-12-21 23:27:51 +0000
commitb57fbcca06c7a69863f69628745f8fcbc13419bd (patch)
tree35bc2b2b4e05a1c004f0a51eb57cf4fff6254dba /source/script
parent4671a313775f052ae949ba441db7e0060bed0b75 (diff)
downloadsamba-b57fbcca06c7a69863f69628745f8fcbc13419bd.tar.gz
If extra arguments passed make yodl docs for these files rather than *.yo
Diffstat (limited to 'source/script')
-rwxr-xr-xsource/script/makeyodldocs.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/source/script/makeyodldocs.sh b/source/script/makeyodldocs.sh
index d0abaab7aec..5b54df033e5 100755
--- a/source/script/makeyodldocs.sh
+++ b/source/script/makeyodldocs.sh
@@ -1,5 +1,11 @@
-#!/bin/sh -v
+#!/bin/sh
SRCDIR=$1
+shift
+FILES=$@
+
+if test -z $FILES; then
+ FILES=*.yo
+fi
YODLDIR=$SRCDIR/../docs/yodldocs
MANPAGEDIR=$SRCDIR/../docs/manpages
@@ -24,7 +30,7 @@ fi
cd $YODLDIR
-for d in *.yo
+for d in $FILES
do
#