@@ -341,7 +341,7 @@ for xliffFile in env.Glob(os.path.join(userDocsDir.path, "*", "*.xliff")):
341341 env.Command(
342342 mdFile,
343343 xliffFile,
344- [f'@{sys.executable} user_docs /markdownTranslate.py generateMarkdown -x "{xliffFile}" -o "{mdFile}"'],
344+ [f'@{sys.executable} source /markdownTranslate.py generateMarkdown -x "{xliffFile}" -o "{mdFile}"'],
345345 )
346346# Allow all markdown files to be converted to html in user_docs
347347for mdFile in env.Glob(os.path.join(userDocsDir.path, "*", "*.md")):
@@ -360,7 +360,7 @@ for mdFile in env.Glob(os.path.join(userDocsDir.path, "*", "*.md")):
360360 htmlFile = env.Command(
361361 target=mdFile.abspath.replace(".md", ".html"),
362362 source=mdFileSub,
363- action=[f'@{sys.executable} user_docs /md2html.py -l {lang} -t {docType} "$SOURCE" "$TARGET"'],
363+ action=[f'@{sys.executable} source /md2html.py -l {lang} -t {docType} "$SOURCE" "$TARGET"'],
364364 )
365365 styleInstallPath = os.path.dirname(mdFile.abspath)
366366 installedStyle = env.Install(styleInstallPath, styles)
@@ -382,7 +382,7 @@ for userGuideFileSub in env.Glob(os.path.join(userDocsDir.path, "*", "userGuide.
382382 keyCommandsHtmlFile = env.Command(
383383 target=userGuideFileSub.abspath.replace("userGuide.md.sub", "keyCommands.html"),
384384 source=userGuideFileSub,
385- action=[f'@{sys.executable} user_docs /md2html.py -l {lang} -t keyCommands "$SOURCE" "$TARGET"'],
385+ action=[f'@{sys.executable} source /md2html.py -l {lang} -t keyCommands "$SOURCE" "$TARGET"'],
386386 )
387387 env.Depends(keyCommandsHtmlFile, userGuideFileSub)
388388
@@ -454,7 +454,7 @@ def NVDADistGenerator(target, source, env, for_signature):
454454 action.append(Copy(target[0], file.path))
455455
456456 if certFile or apiSigningToken:
457- for prog in "nvda_noUIAccess.exe", "nvda_uiAccess.exe", "nvda_slave.exe":
457+ for prog in "nvda_noUIAccess.exe", "nvda_uiAccess.exe", "nvda_slave.exe", "l10nUtil.exe" :
458458 action.append(
459459 lambda target, source, env, progByVal=prog: env["signExec"](
460460 [target[0].File(progByVal)], source, env
@@ -731,11 +731,3 @@ source = env.Dir(os.path.join(os.getcwd(), "dist"))
731731# Putting the target in the output dir automatically causes AppVeyor to package it as an artefact
732732target = env.File(os.path.join(outputDir.abspath, "library_modules.txt"))
733733env.Alias("moduleList", env.GenerateModuleList(target, source))
734-
735- nvdaL10nUtil = env.Command(
736- target=outputDir.File("l10nUtil.exe"),
737- source="user_docs\l10nUtil.py",
738- ENV=os.environ,
739- action=f"nuitka --assume-yes-for-downloads --remove-output --standalone --onefile --output-dir={outputDir.abspath} --include-module=mdx_truly_sane_lists --include-module=markdown_link_attr_modifier --include-module=mdx_gh_links $SOURCE",
740- )
741- env.Alias("nvdaL10nUtil", nvdaL10nUtil)
0 commit comments