Changeset 46498bd in rtems-docs
- Timestamp:
- 01/18/16 03:28:28 (8 years ago)
- Branches:
- 4.11, 5, master
- Children:
- 3a71759
- Parents:
- 6c6246c
- git-author:
- Amar Takhar <amar@…> (01/18/16 03:28:28)
- git-committer:
- Amar Takhar <verm@…> (05/03/16 00:51:24)
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
book/index_book.rst
r6c6246c r46498bd 23 23 filesystem/index.rst 24 24 networking/index.rst 25 new_chapters/index.rst26 25 porting/index.rst 27 26 posix1003_1/index.rst 28 27 posix_users/index.rst 29 relnotes/index.rst -
book/wscript
r6c6246c r46498bd 5 5 from waf import cmd_configure, cmd_build 6 6 7 8 def options(ctx): 9 ctx.add_option('--rtems-path-py', type='string', help="Path to py/ in RTEMS.") 10 7 11 def configure(ctx): 12 if not ctx.options.rtems_path_py: 13 ctx.fatal("--rtems-path-py is required") 14 15 ctx.env.RTEMS_PATH = ctx.options.rtems_path_py 8 16 cmd_configure(ctx) 9 17 … … 21 29 "filesystem", 22 30 "networking", 23 "new_chapters",24 31 "porting", 25 32 "posix1003_1", 26 33 "posix_users", 27 "relnotes"28 34 ] 29 35 … … 35 41 for dir in dirs: 36 42 files = ctx.path.parent.find_node(dir).ant_glob("**/*.rst") 43 files += ctx.path.parent.find_node(dir).ant_glob("**/*.jpg") 44 files += ctx.path.parent.find_node(dir).ant_glob("**/*.png") 37 45 files = [x for x in files if x.name.find("/build/") == -1] 38 46 ctx.path.get_bld().make_node(dir).mkdir() # dirs … … 55 63 56 64 sub = { 57 "VERSION": "1.0", 58 "RELEASE": "5.0.0", 59 "DOC": "Manual", 60 "FILE_DOC": "rtemsmanual", 65 "VERSION": "1.0", 66 "RELEASE": "5.0.0", 67 "DOC": "Manual", 68 "FILE_DOC": "rtemsmanual", 69 "CONF_EXTRA": "sys.path.append('%s')" % ctx.env.RTEMS_PATH 61 70 } 62 71 -
common/conf.py
r6c6246c r46498bd 2 2 sys.path.append(os.path.abspath('.')) 3 3 sys.path.append(os.path.abspath('../../common/')) 4 5 @CONF_EXTRA@ 4 6 5 7 extensions = [ -
rtemsconfig/wscript
r6c6246c r46498bd 3 3 path.append(abspath('../common/')) 4 4 5 5 6 from waf import cmd_configure, cmd_build 6 7 8 def options(ctx): 9 ctx.add_option('--rtems-path-py', type='string', help="Path to py/ in RTEMS.") 10 7 11 def configure(ctx): 12 13 if not ctx.options.rtems_path_py: 14 ctx.fatal("--rtems-path-py is required") 15 16 ctx.env.RTEMS_PATH = ctx.options.rtems_path_py 17 8 18 cmd_configure(ctx) 9 19 20 21 10 22 def build(ctx): 23 # path.append(ctx.env.RTEMS_PATH) 11 24 12 25 sub = { … … 15 28 "DOC": "RTEMS Config", 16 29 "FILE_DOC": "rtemsconfig", 30 "CONF_EXTRA": "sys.path.append('%s')" % ctx.env.RTEMS_PATH 17 31 } 18 32
Note: See TracChangeset
for help on using the changeset viewer.