diff options
author | Chris Johns <chrisj@rtems.org> | 2017-08-07 09:59:49 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2017-08-07 09:59:49 +1000 |
commit | 8b96e17c8abf61d97dd224b23370dc148f32fe3c (patch) | |
tree | e8eb043159d145ffbbbf9c23ef872226de5ab059 /source-builder/sb/asciidoc/main.aap | |
parent | 4.12: Fix SIS patch URL (diff) | |
download | rtems-source-builder-8b96e17c8abf61d97dd224b23370dc148f32fe3c.tar.bz2 |
doc: Remove in source documentation and the asciidoc package
The RSB documentation is now in ReST format and part of the RTEMS
Documentation project. See https://docs.rtems.org/.
Remove support for the GPL based asciidoc tool and remove the
asciidoc package from the RSB.
Add the Python Markdown package and update the reporter to use
Markdown for HTML generation. The resuling HTML report is a single
self contained file.
Closes #3047.
Diffstat (limited to '')
-rw-r--r-- | source-builder/sb/asciidoc/main.aap | 77 |
1 files changed, 0 insertions, 77 deletions
diff --git a/source-builder/sb/asciidoc/main.aap b/source-builder/sb/asciidoc/main.aap deleted file mode 100644 index 6014f62..0000000 --- a/source-builder/sb/asciidoc/main.aap +++ /dev/null @@ -1,77 +0,0 @@ -##################################################################### -# -# A-A-P file for making AsciiDoc distribution. -# (you can obtain A-A-P from http://www.a-a-p.org) -# -# Stuart Rackham <srackham@gmail.com> -##################################################################### - -:execute ./common.aap - -all: distribution - -vers: - :print Version: $VERS (released $DATE) - -vers_update: - # Propagate version number in common.aap to other versioned files. - :syseval grep "$$VERSION = '$(VERS)'" asciidoc.py | :assign dummy - @if exit != 0: - :print updating version numbers... - @for (fname,match) in (('asciidoc.py',r'^VERSION = '),('a2x.py',r'^VERSION = '),('configure.ac',r'^AC_INIT\(.*\)')): - :sys sed '/$match/ s/[0-9.][0-9.a-zA-Z_]\+/$VERS/' <$fname >$(fname).tmp - :sys mv -f $(fname).tmp $fname - @if fname in ('asciidoc.py','a2x.py'): - :sys chmod +x $fname - -tags: - :sys rm -f tags - :sys ctags asciidoc.py asciidocapi.py tests/testasciidoc.py - -docs: - :execute ./doc/main.aap - -website: - :execute ./examples/website/main.aap - -distribution: vers_update docs website - NAME = asciidoc-$(VERS) - # Make configure script. - :sys autoconf - :sys ln -s . $(NAME) - # Make tarball of all files in MANIFEST. - :sys tar -czf $(NAME).tar.gz \ - ``sed s:^:$(NAME)/: MANIFEST`` - # Make zip file. - ZIP = `program_path("zip")` - @if ZIP: - :sys rm -f $(NAME).zip - :sys ls ``sed s:^:$(NAME)/: MANIFEST`` | $ZIP $(NAME).zip -@ - # Zip files don't know about symlinks so just duplicate the - # files. - :sys $ZIP $(NAME).zip \ - $(NAME)/doc/images/tiger.png \ - $(NAME)/doc/images/smallnew.png \ - $(NAME)/doc/images/icons/README \ - $(NAME)/doc/images/icons/*.png \ - $(NAME)/doc/images/icons/callouts/*.png \ - $(NAME)/examples/website/images/tiger.png \ - $(NAME)/examples/website/images/highlighter.png \ - $(NAME)/examples/website/images/smallnew.png \ - $(NAME)/examples/website/images/icons/README \ - $(NAME)/examples/website/images/icons/*.png \ - $(NAME)/examples/website/images/icons/callouts/*.png - :sys rm -f $(NAME) - @else: - :print WARNING: zip(1) unavailable, skipping zip file creation - :sys rm -f $(NAME) - -test: - :sys python ./asciidoc.py --doctest - :sys python ./asciidocapi.py - :execute ./doc/main.aap test - :syseval ls ./tests/data/*.html | :assign TESTFILES - @if _no.TESTFILES: - :sys python ./tests/testasciidoc.py run - @else: - :print WARNING: no test files, run './tests/testasciidoc.py update' |