Skip to content

Files

Latest commit

033b5a5 · Nov 5, 2022

History

History
This branch is 2175 commits behind util-linux/util-linux:master.

man-common

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Feb 11, 2022
May 10, 2021
Nov 3, 2021
Feb 12, 2022
Mar 11, 2021
Mar 11, 2021
Mar 11, 2021
Feb 1, 2022
Jan 24, 2022
Feb 1, 2022
Nov 5, 2022

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.