From 0cb025d911dd3e2f9a9184293f571214192e3a54 Mon Sep 17 00:00:00 2001
From: MilhouseVH <milhouseVH.github@nmacleod.com>
Date: Tue, 19 Mar 2019 12:39:41 +0000
Subject: [PATCH] disable man pages

---
 buildtools/wafsamba/wafsamba.py |  8 --------
 docs-xml/wscript_build          | 22 ----------------------
 2 files changed, 30 deletions(-)

diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py
index a077026..2a897d0 100644
--- a/buildtools/wafsamba/wafsamba.py
+++ b/buildtools/wafsamba/wafsamba.py
@@ -328,11 +328,6 @@ def SAMBA_LIBRARY(bld, libname, source,
         else:
             bld.PKG_CONFIG_FILES(pc_files, vnum=vnum)
 
-    if (manpages is not None and 'XSLTPROC_MANPAGES' in bld.env and
-        bld.env['XSLTPROC_MANPAGES']):
-        bld.MANPAGES(manpages, install)
-
-
 Build.BuildContext.SAMBA_LIBRARY = SAMBA_LIBRARY
 
 
@@ -437,9 +432,6 @@ def SAMBA_BINARY(bld, binname, source,
         samba_ldflags  = pie_ldflags
         )
 
-    if manpages is not None and 'XSLTPROC_MANPAGES' in bld.env and bld.env['XSLTPROC_MANPAGES']:
-        bld.MANPAGES(manpages, install)
-
 Build.BuildContext.SAMBA_BINARY = SAMBA_BINARY
 
 
-- 
2.7.4

