summaryrefslogtreecommitdiff
path: root/docs/docbook/smbdotconf/generate-file-list.sh
blob: 3495f50c4324512ff6f4c9e34951b6bbddcd2525 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh
echo "<variablelist>"
find . -type f -name '*.xml' -mindepth 2 | sort -t/ -k3 |
        while read ; do  
                echo "<xi:include href='$REPLY' parse='xml' xmlns:xi='http://www.w3.org/2001/XInclude'/>"
        done
                
echo "</variablelist>"