mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
afc90321ec
DATADIR should have been set to this path from the beginning, too late to change that now as ut's used as parent for two other directory varialbles: SETUPDIR and CODEPAGEDIR. From <https://www.gnu.org/prep/standards/html_node/Directory-Variables.html>: datadir The directory for installing idiosyncratic read-only architecture-independent data files for this program. This is usually the same place as ‘datarootdir’, but we use the two separate variables so that you can move these program-specific files without altering the location for Info files, man pages, etc. This should normally be /usr/local/share, but write it as $(datarootdir). (If you are using Autoconf, write it as ‘@datadir@’.) The definition of ‘datadir’ is the same for all packages, so you should install your data in a subdirectory thereof. Most packages install their data under $(datadir)/package-name/. Currently Samba doesn't install any application specific data files, but I'm going to do just that in a subsequent commit. Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Noel Power <noel.power@suse.com>
41 lines
1.3 KiB
Bash
Executable File
41 lines
1.3 KiB
Bash
Executable File
#!/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.BINDDNS_DIR '\${prefix}/bind-dns'>
|
|
<!ENTITY pathconfig.SMB_PASSWD_FILE '\${prefix}/private/smbpasswd'>
|
|
<!ENTITY pathconfig.WINBINDD_SOCKET_DIR '\${prefix}/var/run/winbindd'>
|
|
<!ENTITY pathconfig.CACHEDIR '\${prefix}/var/cache'>
|
|
<!ENTITY pathconfig.NTP_SIGND_SOCKET_DIR '\${prefix}/var/lib/ntp_signd'>
|
|
<!ENTITY pathconfig.MITKDCPATH '\${prefix}/sbin/krb5kdc'>
|
|
<!ENTITY pathconfig.SAMBA_DATADIR '\${prefix}/var/samba'>
|
|
]>"
|
|
|
|
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
|