From a55fd9274b84bc5065268e9decd4b41d15326df8 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Thu, 10 Sep 2026 11:47:09 -0300 Subject: Name the i18n stamp a sentinel Every other file of its kind here is a sentinel, and .sentinel is what the suffix rules and the .gitignore already spell. One outlier called .stamp meant two names for the one idea. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01KxLpaNQThKfMG3ecCJptP9 --- mkdeps.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'mkdeps.sh') diff --git a/mkdeps.sh b/mkdeps.sh index 496c13e..37f4237 100755 --- a/mkdeps.sh +++ b/mkdeps.sh @@ -312,10 +312,10 @@ translations | varlist 'translations' ## One run writes all of them, so they hang off a stamp rather ## than each invoking po4a for itself. -printf 'src/i18n.stamp: po/po4a.cfg %s\n' "$(find po -maxdepth 1 -name '*.po' | sort | tr '\n' ' ')" +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 '\ttouch $@\n\n' -printf '$(translations): src/i18n.stamp\n\n' +printf '$(translations): src/i18n.sentinel\n\n' ## The map mkwb conf reads to link a page to its translations, @@ -338,6 +338,6 @@ mkwb rules ## comes after them. It has to name what renders rather than ## what a page is made of: an article never writes a .htmlheader ## of its own, so naming that missed every one of them. -printf '\n$(sources.html) $(sources.json): src/i18n.stamp\n' -printf '$(listings.htmllisting) $(categories.xml): src/i18n.stamp\n' -printf '$(articles.feedentry): src/i18n.stamp\n' +printf '\n$(sources.html) $(sources.json): src/i18n.sentinel\n' +printf '$(listings.htmllisting) $(categories.xml): src/i18n.sentinel\n' +printf '$(articles.feedentry): src/i18n.sentinel\n' -- cgit v1.3