summaryrefslogtreecommitdiff
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
commit2db833d5f1d6ecf7ee1c0d30437a2bdaa95c3fff (patch)
treecf0ac9c56b2068217e8ab25bfbafe999980fbc5d
parent21f0dc985ae2d6c3ef85bcca34f07d216f51b692 (diff)
downloadsamba-2db833d5f1d6ecf7ee1c0d30437a2bdaa95c3fff.tar.gz
samba-2db833d5f1d6ecf7ee1c0d30437a2bdaa95c3fff.tar.bz2
samba-2db833d5f1d6ecf7ee1c0d30437a2bdaa95c3fff.zip
If extra arguments passed make yodl docs for these files rather than *.yo
(This used to be commit b57fbcca06c7a69863f69628745f8fcbc13419bd)
-rwxr-xr-xsource3/script/makeyodldocs.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/source3/script/makeyodldocs.sh b/source3/script/makeyodldocs.sh
index d0abaab7ae..5b54df033e 100755
--- a/source3/script/makeyodldocs.sh
+++ b/source3/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
#