dbbd796eb4
ok aja@, maintainer timeout
36 lines
1003 B
Plaintext
36 lines
1003 B
Plaintext
$OpenBSD: patch-waftools_man_py,v 1.2 2012/06/09 09:46:18 pascal Exp $
|
|
|
|
Bypass the gzip function that compress man files.
|
|
|
|
--- waftools/man.py.orig Thu Oct 20 21:26:08 2011
|
|
+++ waftools/man.py Tue May 8 12:50:16 2012
|
|
@@ -24,11 +24,11 @@ def gzip_func(task):
|
|
if outf:
|
|
outf.close()
|
|
|
|
-Task.task_factory('man', gzip_func, color='BLUE')
|
|
-
|
|
@feature('man')
|
|
@before_method('process_source')
|
|
def process_man(self):
|
|
+ def empty(x):
|
|
+ pass
|
|
source = self.to_nodes(getattr(self, 'source', []))
|
|
self.source = []
|
|
|
|
@@ -43,13 +43,7 @@ def process_man(self):
|
|
if not s:
|
|
raise Errors.BuildError('cannot determine man section from filename')
|
|
|
|
- out = self.path.find_or_declare(node.name + '.gz')
|
|
-
|
|
- tsk = self.create_task('man')
|
|
- tsk.set_inputs(node)
|
|
- tsk.set_outputs(out)
|
|
-
|
|
- self.bld.install_files('${MANDIR}/man%s' % s, out)
|
|
+ self.bld.install_files('${MANDIR}/man%s' % s, node)
|
|
|
|
|
|
def configure(conf):
|