mirror of
https://github.com/samba-team/samba.git
synced 2025-08-02 00:22:11 +03:00
Moving docs tree to docs-xml to make room for generated docs in the release tarball.
(This used to be commit 9f672c26d6
)
This commit is contained in:
19
docs-xml/smbdotconf/generate-file-list.sh
Executable file
19
docs-xml/smbdotconf/generate-file-list.sh
Executable file
@ -0,0 +1,19 @@
|
||||
#!/bin/sh
|
||||
DIR=.
|
||||
if [ "x$1" != "x" ]
|
||||
then
|
||||
DIR="$1"
|
||||
fi
|
||||
|
||||
OLD=`pwd`
|
||||
cd $DIR
|
||||
|
||||
echo "<variablelist xmlns:xi=\"http://www.w3.org/2003/XInclude\">"
|
||||
for I in `find . -mindepth 2 -type f -name '*.xml' | sort -t/ -k3 | xargs`
|
||||
do
|
||||
echo "<xi:include href='$I' parse='xml'/>"
|
||||
done
|
||||
|
||||
echo "</variablelist>"
|
||||
|
||||
cd $OLD
|
Reference in New Issue
Block a user