summaryrefslogtreecommitdiff
path: root/wscript_build
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2014-01-15 18:11:41 +1300
committerMichael Adam <obnox@samba.org>2014-01-31 21:21:14 +0100
commit2c86758b04515998c690f293fada2cc43116d764 (patch)
tree6a0301ee25ea45a202b7af4864e5135cd127eb38 /wscript_build
parent464009c01d747c12be682a92400a24a871cff0c1 (diff)
downloadsamba-2c86758b04515998c690f293fada2cc43116d764.tar.gz
docs: Always declare rule to build parameters.all.xml and do it first
This ensures this file and the rule to generate it can always be found. Andrew Bartlett Change-Id: I76d9f4470e2678fc2df4e3a13642737128938f3a Signed-off-by: Garming Sam <garming@catalyst.net.nz> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'wscript_build')
-rw-r--r--wscript_build13
1 files changed, 7 insertions, 6 deletions
diff --git a/wscript_build b/wscript_build
index f0c9f2a5b3d..f28c08cb414 100644
--- a/wscript_build
+++ b/wscript_build
@@ -27,6 +27,13 @@ bld.SAMBA_MKVERSION('version.h')
# bld.ENABLE_MAGIC_ORDERING()
+bld.env.ABS_TOP_SRCDIR = bld.srcnode.abspath() + '/docs-xml'
+bld.env.ABS_TOP_BUILDDIR = bld.srcnode.abspath() + '/bin/default/docs-xml'
+bld.CONFIGURE_FILE('docs-xml/build/catalog.xml',
+ ABS_TOP_BUILDDIR = bld.env.ABS_TOP_BUILDDIR,
+ ABS_TOP_SRCDIR=bld.env.ABS_TOP_SRCDIR)
+bld.RECURSE('docs-xml')
+
bld.RECURSE('lib/replace')
bld.RECURSE('lib/socket')
bld.RECURSE('lib/talloc')
@@ -143,9 +150,3 @@ bld.RECURSE('testsuite/headers')
bld.SYMBOL_CHECK()
bld.DUP_SYMBOL_CHECK()
-bld.env.ABS_TOP_SRCDIR = bld.srcnode.abspath() + '/docs-xml'
-bld.env.ABS_TOP_BUILDDIR = bld.srcnode.abspath() + '/bin/default/docs-xml'
-bld.CONFIGURE_FILE('docs-xml/build/catalog.xml',
- ABS_TOP_BUILDDIR = bld.env.ABS_TOP_BUILDDIR,
- ABS_TOP_SRCDIR=bld.env.ABS_TOP_SRCDIR)
-bld.RECURSE('docs-xml')