From 6c96bf426796a73ffc0bb9ea70635f485c570eb4 Mon Sep 17 00:00:00 2001 From: Otto Urpelainen Date: Mar 30 2022 20:07:08 +0000 Subject: Mention %find_lang option --with-man in Manpages section In section Handling Locale Files, the correct way of handling localised manpages is defined to be '%find_lang --with-man'. To make this information easier to discover, a mention and a link is added to Manpages section. --- diff --git a/guidelines/modules/ROOT/pages/index.adoc b/guidelines/modules/ROOT/pages/index.adoc index d81f4f2..8dda206 100644 --- a/guidelines/modules/ROOT/pages/index.adoc +++ b/guidelines/modules/ROOT/pages/index.adoc @@ -1214,6 +1214,8 @@ Note also that files installed in `+%{_mandir}+` are automatically marked by RPM as documentation. Thus it is not necessary to use `+%doc+`. +For localised manpages, use `+%find_lang --with-man+` +as described in <>. [#compiler] == Compiler @@ -2144,6 +2146,7 @@ the body of a %define'd macro is lazily expanded (i.e., when used), but the body of %global is expanded at definition time. It's possible to use %%-escaping to force lazy expansion of %global. +[#handling_locale_files] == Handling Locale Files Translation files may be handled by different programs