summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/scripting/wscript_build4
-rw-r--r--source4/setup/wscript_build20
2 files changed, 24 insertions, 0 deletions
diff --git a/source4/scripting/wscript_build b/source4/scripting/wscript_build
new file mode 100644
index 0000000000..94928deb0e
--- /dev/null
+++ b/source4/scripting/wscript_build
@@ -0,0 +1,4 @@
+bld.INSTALL_FILES('${SBINDIR}','bin/upgradeprovision bin/samba_dnsupdate',
+ chmod=0755, python_fixup=True, flat=True)
+
+
diff --git a/source4/setup/wscript_build b/source4/setup/wscript_build
new file mode 100644
index 0000000000..1ad5edc6d9
--- /dev/null
+++ b/source4/setup/wscript_build
@@ -0,0 +1,20 @@
+bld.INSTALL_WILDCARD('${SETUPDIR}', 'ad-schema/*.txt')
+bld.INSTALL_WILDCARD('${SETUPDIR}', 'display-specifiers/*.txt')
+
+bld.INSTALL_FILES('${SBINDIR}','provision', chmod=0755, python_fixup=True)
+
+bld.INSTALL_FILES('${PRIVATEDIR}', 'dns_update_list')
+
+for p in '''schema-map-* DB_CONFIG *.inf *.ldif *.reg *.zone *.conf *.php *.txt
+ named.conf named.conf.update provision.smb.conf.dc provision.smb.conf.member
+ provision.smb.conf.standalone'''.split():
+ bld.INSTALL_WILDCARD('${SETUPDIR}', p)
+
+# echo "Installing external python libraries"
+# mkdir -p $PYTHONDIR/samba_external || exit 1
+# for p in $($PYTHON scripting/python/samba_external/missing.py);
+# do
+# echo "Installing missing python library $p"
+# mkdir -p $PYTHONDIR/samba_external/$p
+# cp -r scripting/python/samba_external/$p/* $PYTHONDIR/samba_external/$p/ || exit 1
+# done