Changeset f916fca in rtems-docs
- Timestamp:
- 01/18/16 22:53:44 (8 years ago)
- Branches:
- 4.11, 5, master
- Children:
- 4f81ff1
- Parents:
- d389819
- git-author:
- Amar Takhar <amar@…> (01/18/16 22:53:44)
- git-committer:
- Amar Takhar <verm@…> (05/03/16 00:51:24)
- Files:
-
- 3 added
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
book/wscript
rd389819 rf916fca 3 3 path.append(abspath('../common/')) 4 4 5 from waf import cmd_configure_path, cmd_build_path, cmd_options_path 5 from waf import cmd_configure_path, cmd_build_path, cmd_options_path, spell, cmd_spell 6 6 7 7 -
bsp_howto/wscript
rd389819 rf916fca 3 3 path.append(abspath('../common/')) 4 4 5 from waf import cmd_configure, cmd_build 5 from waf import cmd_configure, cmd_build, spell, cmd_spell 6 6 7 7 def configure(ctx): -
c_user/wscript
rd389819 rf916fca 3 3 path.append(abspath('../common/')) 4 4 5 from waf import cmd_configure, cmd_build 5 from waf import cmd_configure, cmd_build, spell, cmd_spell 6 6 7 7 def configure(ctx): -
common/waf.py
rd389819 rf916fca 1 1 import sys, os 2 from waflib.Build import BuildContext 2 3 4 def cmd_spell(ctx): 5 from waflib import Options 6 from sys import argv 7 from subprocess import call 8 9 Options.commands = None # stop warnings about knowing commands. 10 11 if not ctx.env.BIN_ASPELL: 12 ctx.fatal("'aspell' is required please add binary to your path and re-run configure.") 13 14 if len(argv) < 3: 15 ctx.fatal("Please supply at least one file name") 16 17 files = argv[2:] 18 19 path = ctx.path.parent.abspath() 20 21 # XXX: add error checking eg check if file exists. 22 for file in files: 23 cmd = ctx.env.BIN_ASPELL + ["-c", "--personal=%s/common/spell/dict/rtems" % path, "--extra-dicts=%s/common/spell/en_GB-ise-w_accents.multi" % path, file] 24 25 print "running:", cmd 26 call(cmd) 27 28 29 class spell(BuildContext): 30 __doc__ = "Check spelling. Supply a list of files or a glob (*.rst)" 31 cmd = 'spell' 32 fun = 'cmd_spell' 3 33 4 34 5 35 def cmd_configure(ctx): 6 ctx.find_program("sphinx-build", var="SPHINX_BUILD") 36 ctx.find_program("sphinx-build", var="BIN_SPHINX_BUILD") 37 ctx.find_program("aspell", var="BIN_ASPELL", mandatory=False) 7 38 8 39 def cmd_build(ctx, conf_dir=".", source_dir="."): … … 22 53 23 54 ctx( 24 rule = "${ SPHINX_BUILD} -b html -c %s -j %d -d build/doctrees %s build/html" % (conf_dir, ctx.options.jobs, source_dir),55 rule = "${BIN_SPHINX_BUILD} -b html -c %s -j %d -d build/doctrees %s build/html" % (conf_dir, ctx.options.jobs, source_dir), 25 56 cwd = ctx.path.abspath(), 26 57 source = ctx.path.ant_glob('**/*.rst'),# + ctx.path.ant_glob('conf.py'), … … 67 98 68 99 cmd_build(ctx, conf_dir="build", source_dir="build") 100 101 -
cpu_supplement/wscript
rd389819 rf916fca 3 3 path.append(abspath('../common/')) 4 4 5 from waf import cmd_configure, cmd_build 5 from waf import cmd_configure, cmd_build, spell, cmd_spell 6 6 7 7 def configure(ctx): -
develenv/wscript
rd389819 rf916fca 3 3 path.append(abspath('../common/')) 4 4 5 from waf import cmd_configure, cmd_build 5 from waf import cmd_configure, cmd_build, spell, cmd_spell 6 6 7 7 def configure(ctx): -
filesystem/wscript
rd389819 rf916fca 3 3 path.append(abspath('../common/')) 4 4 5 from waf import cmd_configure, cmd_build 5 from waf import cmd_configure, cmd_build, spell, cmd_spell 6 6 7 7 def configure(ctx): -
networking/wscript
rd389819 rf916fca 3 3 path.append(abspath('../common/')) 4 4 5 from waf import cmd_configure, cmd_build 5 from waf import cmd_configure, cmd_build, spell, cmd_spell 6 6 7 7 def configure(ctx): -
porting/wscript
rd389819 rf916fca 3 3 path.append(abspath('../common/')) 4 4 5 from waf import cmd_configure, cmd_build 5 from waf import cmd_configure, cmd_build, spell, cmd_spell 6 6 7 7 def configure(ctx): -
posix1003_1/wscript
rd389819 rf916fca 3 3 path.append(abspath('../common/')) 4 4 5 from waf import cmd_configure, cmd_build 5 from waf import cmd_configure, cmd_build, spell, cmd_spell 6 6 7 7 def configure(ctx): -
posix_users/wscript
rd389819 rf916fca 3 3 path.append(abspath('../common/')) 4 4 5 from waf import cmd_configure, cmd_build 5 from waf import cmd_configure, cmd_build, spell, cmd_spell 6 6 7 7 def configure(ctx): -
rtemsconfig/wscript
rd389819 rf916fca 3 3 path.append(abspath('../common/')) 4 4 5 from waf import cmd_options_path, cmd_configure_path, cmd_build_path 5 from waf import cmd_options_path, cmd_configure_path, cmd_build_path, spell, cmd_spell 6 6 7 7 -
shell/wscript
rd389819 rf916fca 3 3 path.append(abspath('../common/')) 4 4 5 from waf import cmd_configure, cmd_build 5 from waf import cmd_configure, cmd_build, spell, cmd_spell 6 6 7 7 def configure(ctx): -
user/wscript
rd389819 rf916fca 3 3 path.append(abspath('../common/')) 4 4 5 from waf import cmd_configure, cmd_build 5 from waf import cmd_configure, cmd_build, spell, cmd_spell 6 6 7 7 def configure(ctx):
Note: See TracChangeset
for help on using the changeset viewer.