tree: 13e9fb0b167ee84484bdb9d82b245176e5d2e6cd [path history] [tgz]
  1. bugreports.adoc
  2. footer-config.adoc
  3. footer-lib.adoc
  4. footer.adoc
  5. Makemodule.am
  6. manpage-stub.adoc
  7. README.md
  8. translation.adoc
man-common/README.md

Working with the Asciidoc files

To get the groff version from an asciidoc man page (example for a dummy man page filename.1.adoc):

asciidoctor -b manpage \
            -a release-version=2.37 \
            -a adjtime_path=/etc/adjtime \
            -a docdir=/usr/share/doc \
            -a runstatedir=/run \
            -D output_directory \
            filename.1.adoc

To get the translated versions, add an extra option which includes translation.adoc:

            -a translation

The “-a” options are applicable to certain man pages. However, if the mentioned variable is unused, they don't produce an error message.

The footers of the asciidoc files already contain relative paths to the files in man-common.