[kupfer] wscript: Actually use the rst2man that was configured



commit 0e0ce35381ab2228caae09f7060aeb6476424971
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date:   Fri Apr 1 18:53:32 2011 +0200

    wscript: Actually use the rst2man that was configured
    
    We must use bld.env['RST2MAN'] that is found by configure.
    
    Launchpad-bug: https://bugs.launchpad.net/kupfer/+bug/747500

 wscript |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/wscript b/wscript
index d99674a..66645b4 100644
--- a/wscript
+++ b/wscript
@@ -263,7 +263,7 @@ def build(bld):
 		bld.new_task_gen(
 			source = "Documentation/Manpage.rst",
 			target = "kupfer.1",
-			rule = 'rst2man ${SRC} > ${TGT}',
+			rule = '%s ${SRC} > ${TGT}' % bld.env["RST2MAN"],
 		)
 		bld.add_group()
 		# compress and install man page



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]