[kupfer] Fix waf dependency for translated documentation files



commit d39b894ad55f4f7571347ed8aef0d098d57721a6
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date:   Mon Mar 22 20:25:45 2010 +0100

    Fix waf dependency for translated documentation files
    
    Lacking waf dependency between built and installed files caused
    install errors, reported by multiple people. Fix my wscript code to
    put the install path directly on the build task.

 help/wscript |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/help/wscript b/help/wscript
index d1170e5..ee6de9b 100644
--- a/help/wscript
+++ b/help/wscript
@@ -50,9 +50,7 @@ def apply_mallard(self):
 			src = self.path.find_resource('C/%s' % page)
 			tsk.set_inputs([node,src])
 			tsk.set_outputs(out)
-			instdir = os.path.join(self.install_path, lang)
-			if bld.is_install:
-				bld.install_files(instdir, out.abspath(self.env))
+			tsk.install_path = os.path.join(self.install_path, lang)
 	if bld.is_install:
 		for page in pages:
 			out = "%s/%s" % (cnode.abspath(), page)



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