Jesse, On Thu, May 12, 2022 at 10:17:39PM -0300, Jesse Smith wrote: > > Note: It is recommended to use [po_directory] rather than [po4a_langs] and > > [po4a_paths]. See section Autodetection of the paths and languages below. > > > > So, maybe I will look at incorporating that in man/po/po4a.cfg. > > This sounds good, Mark. If you do adjust the Makefile, please send me a > patch or pull request. I'll be happy to test commit it upstream.
Patch to implement this is attached for your consideration. The only other thing I can see that is outstanding is the bug address you want to use as an argument to --msgid-bugs-address in man/Makefile. Helge, anything else you want to add? Thanks both. Mark
>From a9af4b0423525b6535e39953799161a89ee29d2c Mon Sep 17 00:00:00 2001 From: Mark Hindley <[email protected]> Date: Tue, 10 May 2022 18:15:21 +0100 Subject: [PATCH] Use [po_directory] as recommended by po4a(1). --- man/Makefile | 2 -- man/po/po4a.cfg | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/man/Makefile b/man/Makefile index 3b06f561..59c5fc5d 100644 --- a/man/Makefile +++ b/man/Makefile @@ -3,8 +3,6 @@ killall5.8 last.1 lastb.1 logsave.8 mesg.1 mountpoint.1 pidof.8 poweroff.8 \ readbootlog.1 reboot.8 runlevel.8 shutdown.8 sulogin.8 telinit.8 utmpdump.1 \ wall.1 -LANGUAGES=$(shell sed -ne 's/^.*\[po4a_langs\] \(.*\)$$/\1/p' po/po4a.cfg) - PO4A := $(shell command -v po4a 2> /dev/null) PO4A_OPTS = --previous --srcdir po/ --destdir ./ --no-backups --stamp \ diff --git a/man/po/po4a.cfg b/man/po/po4a.cfg index 4c925987..4e294ae6 100644 --- a/man/po/po4a.cfg +++ b/man/po/po4a.cfg @@ -1,5 +1,4 @@ -[po4a_langs] de es fi fr hu id pl -[po4a_paths] sysvinit-man.pot $lang:$lang.po +[po_directory] ./ [type:man] ../bootlogd.8 $lang:$lang/bootlogd.8 [type:man] ../fstab-decode.8 $lang:$lang/fstab-decode.8 -- 2.35.1

