From 1343c53e710a5afda6671c9861dcb7cca153ddf8 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Fri, 11 Sep 2026 13:38:15 -0300 Subject: Translate the content with maritacag rather than po4a ab781e1 moved the manual pages over and left this behind: the i18n target was changed to maritacag(1), but the rule that actually writes the site's translations -- src/i18n.sentinel, emitted by mkdeps.sh -- still shelled out to po4a. So the build kept needing po4a even though nothing else in the fleet did, and the package in pkgs still carried it as an input. --no-update rather than the bare invocation po4a had. Everywhere else in the fleet a build writes translations and never catalogues; "make i18n" is what brings those up to the masters. The old rule did both, which is why the i18n target beside it was a duplicate of it. Byte for byte the same: over a clean checkout, po4a, maritacag and maritacag --no-update each write the identical src/ tree, and none of the three rewrites a catalogue. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01BMowJCogxLWcMdVYYhbLpH --- mkdeps.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'mkdeps.sh') diff --git a/mkdeps.sh b/mkdeps.sh index 37f4237..dbb1af4 100755 --- a/mkdeps.sh +++ b/mkdeps.sh @@ -304,16 +304,18 @@ done media | sed 's/^/media\t/' } | mkwb deps src/config.json -## What po4a writes. Naming them here is what lets them be -## derived: deps.mk is written before make runs, so a translation +## What the translator writes. Naming them here is what lets them +## be derived: deps.mk is written before make runs, so a translation ## that is not named cannot be built, and would have to be ## committed instead. translations | varlist 'translations' ## One run writes all of them, so they hang off a stamp rather -## than each invoking po4a for itself. +## than each invoking the translator for itself. --no-update +## because a build writes translations and never catalogues; "make +## i18n" is what brings those up to the masters. printf 'src/i18n.sentinel: po/po4a.cfg %s\n' "$(find po -maxdepth 1 -name '*.po' | sort | tr '\n' ' ')" -printf '\tpo4a po/po4a.cfg\n' +printf '\tmaritacag --no-update po/po4a.cfg\n' printf '\ttouch $@\n\n' printf '$(translations): src/i18n.sentinel\n\n' -- cgit v1.3