s4-waf: add subdir argument to distcheck for source4
authorAndrew Tridgell <tridge@samba.org>
Mon, 5 Apr 2010 01:26:24 +0000 (11:26 +1000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 6 Apr 2010 10:27:26 +0000 (20:27 +1000)
source4/wscript

index fea583104788dbe3f9682e02728e8bc12221fe02..a1ca61f0a12c72b24818ce0867f0987562ce477b 100644 (file)
@@ -131,3 +131,10 @@ def dist():
     '''makes a tarball for distribution'''
     samba_dist.dist()
 
+def distcheck():
+    '''test that distribution tarball builds and installs'''
+    import Scripting
+    d = Scripting.distcheck
+    d(subdir='source4')
+
+