summaryrefslogtreecommitdiffstats
path: root/docs-xml/smbdotconf/generate-file-list.sh
blob: a03ed1111282303a87cb3f3c77796618eee5f669 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/bin/sh
#
# This is the fallback table for when we use the docs-xml build
# system.  When build as part of the main waf build, these are set to
# the full correct path for the system.
#
echo "<!DOCTYPE section [
<!ENTITY pathconfig.SCRIPTSBINDIR       '\${prefix}/sbin'>
<!ENTITY pathconfig.LOCKDIR             '\${prefix}/var/lock'>
<!ENTITY pathconfig.NCALRPCDIR          '\${prefix}/var/run/ncalrpc'>
<!ENTITY pathconfig.PIDDIR              '\${prefix}/var/run'>
<!ENTITY pathconfig.STATEDIR            '\${prefix}/var/locks'>
<!ENTITY pathconfig.PRIVATE_DIR         '\${prefix}/private'>
<!ENTITY pathconfig.SMB_PASSWD_FILE     '\${prefix}/private/smbpasswd'>
<!ENTITY pathconfig.WINBINDD_SOCKET_DIR '\${prefix}/var/run/ncalrpc'>
]>"

DIR=.
if [ "x$1" != "x" ]
then
	DIR="$1"
fi

OLD=`pwd`
cd $DIR

echo "<section>"
for I in `find . -mindepth 2 -type f -name '*.xml' | sort -t/ -k3 | xargs`
do 
	cat $I
done
echo "</section>"


cd $OLD