From f65bd477b0c7f58004a810cc9ba5f29bc231ee35 Mon Sep 17 00:00:00 2001 From: gemmaro Date: Sun, 14 Apr 2024 16:18:52 +0900 Subject: build: Use the po4a command for the translation generation. * configure.ac (Documentation translation): Remove the po4a-translate command. This command has been replaced by the po4a command and are not used from anywhere. * doc/local.mk ($(srcdir)/%D%/guix.%.texi, $(srcdir)/%D%/guix-cookbook.%.texi) ($(srcdir)/%D%/contributing.%.texi): Use the po4a command instead of the po4a-translate for the translation generation. This eliminates the warning of po4a-translate; "po4a-translate is deprecated. The unified po4a(1) program is more convenient and less error prone." (PO4A_PARAMS): Remove the Texinfo format option. This option is specified in the configuration file (po/doc/po4a.cfg). (dummy_pot): Add a variable for the temporary POT file location. Change-Id: I542b934c3c03b8701e9f86823191224f8b0ccf81 Signed-off-by: Florian Pelz --- po/doc/local.mk | 5 ----- 1 file changed, 5 deletions(-) (limited to 'po') diff --git a/po/doc/local.mk b/po/doc/local.mk index 419898a139..73d65a5bc4 100644 --- a/po/doc/local.mk +++ b/po/doc/local.mk @@ -40,11 +40,6 @@ EXTRA_DIST = \ $(DOC_PO_FILES) \ $(DOC_COOKBOOK_PO_FILES) -POT_OPTIONS = \ - --package-name "guix manual" --package-version "$(VERSION)" \ - --copyright-holder "the authors of Guix (msgids)" \ - --msgid-bugs-address "bug-guix@gnu.org" - %D%/%.pot: $(srcdir)/doc/%.texi $(AM_V_PO4A)$(PO4A) --no-translations -M UTF-8 \ --package-version "$(VERSION)" \ -- cgit v1.2.3