From: Michael Curran Date: Wed, 2 Mar 2011 05:41:41 +0000 (+1000) Subject: sconstruct: instead of copying nvdaHelper docs to the devDocs directory, move it... X-Git-Tag: jpdev130418~1912 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=320be363359a7ff816f9371279cb08825e903269;p=nvdajp%2Fnvdajp.git sconstruct: instead of copying nvdaHelper docs to the devDocs directory, move it. Also make sure that when cleaning devDocs, the output/devDocs directory is totally removed. --- diff --git a/sconstruct b/sconstruct index c9e194f8c..8869b364a 100755 --- a/sconstruct +++ b/sconstruct @@ -252,9 +252,10 @@ def makePot(target, source, env): os.rename(tmpFn, potFn) devDocs_nvdaHelper_temp=env.Doxygen(source='nvdaHelper/doxyfile') -devDocs_nvdaHelper=env.Command(devDocsOutputDir.Dir('nvdaHelper'),devDocs_nvdaHelper_temp,Copy('$TARGET','$SOURCE')) +devDocs_nvdaHelper=env.Command(devDocsOutputDir.Dir('nvdaHelper'),devDocs_nvdaHelper_temp,Move('$TARGET','$SOURCE')) env.Alias('devDocs',devDocsOutputDir) +env.Clean('devDocs',devDocsOutputDir) pot = env.Command(outputDir.File("%s.pot" % outFilePrefix), # Don't use sourceDir as the source, as this depends on comInterfaces and nvdaHelper.