build:dist: call build-manpages-nogit for make dist and package generated files
authorMichael Adam <obnox@samba.org>
Wed, 12 Sep 2012 15:10:31 +0000 (17:10 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 12 Sep 2012 21:53:18 +0000 (23:53 +0200)
so that we always have generated manpages under docs/manpages in the release
tarball

Signed-off-by: Stefan Metzmacher <metze@samba.org>
wscript

diff --git a/wscript b/wscript
index 1e762986d7f393ab61068ffe52546fe33f001bd6..03b7f2d75e68ea2ce7c39ee57deae99e16f1f82e 100755 (executable)
--- a/wscript
+++ b/wscript
@@ -237,6 +237,9 @@ 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)
+
     if sambaversion.IS_SNAPSHOT:
         # write .distversion file and add to tar
         if not os.path.isdir(blddir):