mirror of
https://github.com/samba-team/samba.git
synced 2025-02-19 21:57:57 +03:00
Fixed manpages generation to properly create handle smb.conf parameters' titles Changed HTML generator to include links for every smb.conf parameter. Now we have correct linking between different HTML documents. Signed-off-by: Alexander Bokovoy <ab@samba.org> (This used to be commit 056935ff1f5fefc3ca42f7006182fc80c94d91ab)
20 lines
308 B
Bash
Executable File
20 lines
308 B
Bash
Executable File
#!/bin/sh
|
|
DIR=.
|
|
if [ "x$1" != "x" ]
|
|
then
|
|
DIR="$1"
|
|
fi
|
|
|
|
OLD=`pwd`
|
|
cd $DIR
|
|
|
|
echo "<section 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 "</section>"
|
|
|
|
cd $OLD
|