WIP: add vfs_snapper module
[ddiss/samba.git] / wscript
diff --git a/wscript b/wscript
old mode 100755 (executable)
new mode 100644 (file)
index 64aaaf2..c8dcccd
--- a/wscript
+++ b/wscript
@@ -60,7 +60,7 @@ def set_options(opt):
 
     opt.add_option('--disable-ntdb',
                    help=("disable ntdb"),
-                   action="store_true", dest='disable_ntdb', default=False)
+                   action="store_true", dest='disable_ntdb', default=True)
 
 
     opt.tool_options('python') # options for disabling pyc or pyo compilation
@@ -237,6 +237,16 @@ def dist():
     '''makes a tarball for distribution'''
     sambaversion = samba_version.load_version(env=None)
 
+    os.system(srcdir + "/release-scripts/build-manpages-nogit")
+    samba_dist.DIST_FILES('bin/docs:docs', extend=True)
+
+    os.system(srcdir + "/source3/autogen.sh")
+    samba_dist.DIST_FILES('source3/configure', extend=True)
+    samba_dist.DIST_FILES('source3/autoconf', extend=True)
+    samba_dist.DIST_FILES('source3/include/autoconf', extend=True)
+    samba_dist.DIST_FILES('examples/VFS/configure', extend=True)
+    samba_dist.DIST_FILES('examples/VFS/module_config.h.in', extend=True)
+
     if sambaversion.IS_SNAPSHOT:
         # write .distversion file and add to tar
         if not os.path.isdir(blddir):
@@ -246,7 +256,7 @@ def dist():
             distveroption = field + '=' + str(sambaversion.vcs_fields[field])
             distversionf.write(distveroption + '\n')
         distversionf.flush()
-        samba_dist.DIST_FILES('%s:.distversion' % distversionf.name)
+        samba_dist.DIST_FILES('%s:.distversion' % distversionf.name, extend=True)
 
         samba_dist.dist()
         distversionf.close()