Update #3853. --- bsp-howto/wscript | 1 + c-user/wscript | 1 + common/waf.py | 8 ++++++++ cpu-supplement/wscript | 1 + develenv/wscript | 1 + eclipse/wscript | 1 + eng/wscript | 1 + filesystem/wscript | 1 + networking/wscript | 1 + porting/wscript | 1 + posix-compliance/wscript | 1 + posix-users/wscript | 1 + rtemsconfig/wscript | 1 + shell/wscript | 1 + user/wscript | 1 + wscript | 4 ++++ 16 files changed, 26 insertions(+)
diff --git a/bsp-howto/wscript b/bsp-howto/wscript index 4063cd4..6bbe351 100644 --- a/bsp-howto/wscript +++ b/bsp-howto/wscript @@ -5,3 +5,4 @@ from common.waf import spell from common.waf import cmd_spell from common.waf import linkcheck from common.waf import cmd_linkcheck +from common.waf import cmd_regenerate diff --git a/c-user/wscript b/c-user/wscript index 4063cd4..6bbe351 100644 --- a/c-user/wscript +++ b/c-user/wscript @@ -5,3 +5,4 @@ from common.waf import spell from common.waf import cmd_spell from common.waf import linkcheck from common.waf import cmd_linkcheck +from common.waf import cmd_regenerate diff --git a/common/waf.py b/common/waf.py index 066048d..8535ff6 100644 --- a/common/waf.py +++ b/common/waf.py @@ -71,6 +71,9 @@ def cmd_linkcheck(ctx): target = "linkcheck/output.txt" ) +def cmd_regenerate(ctx): + pass + class spell(BuildContext): __doc__ = "Check spelling. Supply a list of files or a glob (*.rst)" cmd = 'spell' @@ -81,6 +84,11 @@ class linkcheck(BuildContext): cmd = 'linkcheck' fun = 'cmd_linkcheck' +class regenerate(BuildContext): + __doc__ = "Regenerate files." + cmd = 'regenerate' + fun = 'cmd_regenerate' + def check_sphinx_version(ctx, minver): try: import sphinx diff --git a/cpu-supplement/wscript b/cpu-supplement/wscript index 4063cd4..6bbe351 100644 --- a/cpu-supplement/wscript +++ b/cpu-supplement/wscript @@ -5,3 +5,4 @@ from common.waf import spell from common.waf import cmd_spell from common.waf import linkcheck from common.waf import cmd_linkcheck +from common.waf import cmd_regenerate diff --git a/develenv/wscript b/develenv/wscript index 4063cd4..6bbe351 100644 --- a/develenv/wscript +++ b/develenv/wscript @@ -5,3 +5,4 @@ from common.waf import spell from common.waf import cmd_spell from common.waf import linkcheck from common.waf import cmd_linkcheck +from common.waf import cmd_regenerate diff --git a/eclipse/wscript b/eclipse/wscript index 4063cd4..6bbe351 100644 --- a/eclipse/wscript +++ b/eclipse/wscript @@ -5,3 +5,4 @@ from common.waf import spell from common.waf import cmd_spell from common.waf import linkcheck from common.waf import cmd_linkcheck +from common.waf import cmd_regenerate diff --git a/eng/wscript b/eng/wscript index 4063cd4..6bbe351 100644 --- a/eng/wscript +++ b/eng/wscript @@ -5,3 +5,4 @@ from common.waf import spell from common.waf import cmd_spell from common.waf import linkcheck from common.waf import cmd_linkcheck +from common.waf import cmd_regenerate diff --git a/filesystem/wscript b/filesystem/wscript index 4063cd4..6bbe351 100644 --- a/filesystem/wscript +++ b/filesystem/wscript @@ -5,3 +5,4 @@ from common.waf import spell from common.waf import cmd_spell from common.waf import linkcheck from common.waf import cmd_linkcheck +from common.waf import cmd_regenerate diff --git a/networking/wscript b/networking/wscript index 4063cd4..6bbe351 100644 --- a/networking/wscript +++ b/networking/wscript @@ -5,3 +5,4 @@ from common.waf import spell from common.waf import cmd_spell from common.waf import linkcheck from common.waf import cmd_linkcheck +from common.waf import cmd_regenerate diff --git a/porting/wscript b/porting/wscript index 4063cd4..6bbe351 100644 --- a/porting/wscript +++ b/porting/wscript @@ -5,3 +5,4 @@ from common.waf import spell from common.waf import cmd_spell from common.waf import linkcheck from common.waf import cmd_linkcheck +from common.waf import cmd_regenerate diff --git a/posix-compliance/wscript b/posix-compliance/wscript index 01fcf4b..e904683 100644 --- a/posix-compliance/wscript +++ b/posix-compliance/wscript @@ -5,6 +5,7 @@ from common.waf import spell from common.waf import cmd_spell from common.waf import linkcheck from common.waf import cmd_linkcheck +from common.waf import cmd_regenerate import posix_rst diff --git a/posix-users/wscript b/posix-users/wscript index 4063cd4..6bbe351 100644 --- a/posix-users/wscript +++ b/posix-users/wscript @@ -5,3 +5,4 @@ from common.waf import spell from common.waf import cmd_spell from common.waf import linkcheck from common.waf import cmd_linkcheck +from common.waf import cmd_regenerate diff --git a/rtemsconfig/wscript b/rtemsconfig/wscript index 4063cd4..6bbe351 100644 --- a/rtemsconfig/wscript +++ b/rtemsconfig/wscript @@ -5,3 +5,4 @@ from common.waf import spell from common.waf import cmd_spell from common.waf import linkcheck from common.waf import cmd_linkcheck +from common.waf import cmd_regenerate diff --git a/shell/wscript b/shell/wscript index 4063cd4..6bbe351 100644 --- a/shell/wscript +++ b/shell/wscript @@ -5,3 +5,4 @@ from common.waf import spell from common.waf import cmd_spell from common.waf import linkcheck from common.waf import cmd_linkcheck +from common.waf import cmd_regenerate diff --git a/user/wscript b/user/wscript index 8dcbfcd..1b8f5b9 100644 --- a/user/wscript +++ b/user/wscript @@ -5,6 +5,7 @@ from common.waf import spell from common.waf import cmd_spell from common.waf import linkcheck from common.waf import cmd_linkcheck +from common.waf import cmd_regenerate def build(ctx): sources = { diff --git a/wscript b/wscript index 5f8464d..d636b50 100644 --- a/wscript +++ b/wscript @@ -133,3 +133,7 @@ def cmd_spell(ctx): def cmd_linkcheck(ctx): for b in building: ctx.recurse(b) + +def cmd_regenerate(ctx): + for b in building: + ctx.recurse(b) -- 2.16.4 _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel