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 1e76298..03b7f2d 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):