diff options
Diffstat (limited to 'docs-xml/smbdotconf/generate-file-list.sh')
-rwxr-xr-x | docs-xml/smbdotconf/generate-file-list.sh | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/docs-xml/smbdotconf/generate-file-list.sh b/docs-xml/smbdotconf/generate-file-list.sh index 68b2abe72fc..a03ed111128 100755 --- a/docs-xml/smbdotconf/generate-file-list.sh +++ b/docs-xml/smbdotconf/generate-file-list.sh @@ -1,4 +1,20 @@ #!/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 @@ -8,12 +24,12 @@ fi OLD=`pwd` cd $DIR -echo "<section xmlns:xi=\"http://www.w3.org/2003/XInclude\">" +echo "<section>" for I in `find . -mindepth 2 -type f -name '*.xml' | sort -t/ -k3 | xargs` do - echo "<xi:include href='$I' parse='xml'/>" + cat $I done - echo "</section>" + cd $OLD |