diff options
| -rw-r--r-- | deps.mk | 2 | ||||
| -rwxr-xr-x | mkdeps.sh | 10 |
2 files changed, 7 insertions, 5 deletions
@@ -1566,7 +1566,7 @@ translations = \ src/i18n.pt.txt \ src/i18n.sentinel: po/po4a.cfg po/en.po po/eo.po po/es.po po/fr.po po/pt.po - po4a po/po4a.cfg + maritacag --no-update po/po4a.cfg touch $@ $(translations): src/i18n.sentinel @@ -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' |
