From 7f29a25af94fe2deaddd201e9b407169a14c1aec Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mario=20Bl=C3=A4ttermann?= Date: Mon, 29 Mar 2021 20:19:59 +0200 Subject: [PATCH] Asciidoc: Convert man-common/README to Markdown --- man-common/{README => README.md} | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) rename man-common/{README => README.md} (57%) diff --git a/man-common/README b/man-common/README.md similarity index 57% rename from man-common/README rename to man-common/README.md index a5bce000d6..f9a9b8daa9 100644 --- a/man-common/README +++ b/man-common/README.md @@ -1,16 +1,18 @@ +# 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 + 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 + -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. -- 2.47.2