diff options
| author | EuAndreh <eu@euandre.org> | 2026-09-10 11:47:09 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2026-09-10 11:47:09 -0300 |
| commit | a55fd9274b84bc5065268e9decd4b41d15326df8 (patch) | |
| tree | 6099044d294f7e3ca35f99be9bcceec92dd7da3e | |
| parent | style.css: Keep the numbers still by taking them out of the scroll (diff) | |
| download | euandre.org-a55fd9274b84bc5065268e9decd4b41d15326df8.tar.gz euandre.org-a55fd9274b84bc5065268e9decd4b41d15326df8.tar.xz | |
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) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KxLpaNQThKfMG3ecCJptP9
| -rw-r--r-- | .gitignore | 2 | ||||
| -rw-r--r-- | deps.mk | 12 | ||||
| -rwxr-xr-x | mkdeps.sh | 10 |
3 files changed, 12 insertions, 12 deletions
@@ -37,7 +37,7 @@ ## the repository carrying them. The masters and the reference ## strings stay; a language's own name is not translated from ## anything, so that stays too. -/src/i18n.stamp +/src/i18n.sentinel !/src/i18n.txt /src/content/de/**/*.adoc /src/content/eo/**/*.adoc @@ -1565,11 +1565,11 @@ translations = \ src/i18n.fr.txt \ src/i18n.pt.txt \ -src/i18n.stamp: po/po4a.cfg po/en.po po/eo.po po/es.po po/fr.po po/pt.po +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 touch $@ -$(translations): src/i18n.stamp +$(translations): src/i18n.sentinel translations.txt = src/translations.txt @@ -1869,7 +1869,7 @@ side-assets = \ $$(find $(root.dir) -name 'sortdata.txt' 2>/dev/null) \ $(root.dir)/*/*/feed.*.xml \ $(translations) \ - src/i18n.stamp \ + src/i18n.sentinel \ $(root.dir)/.well-known/ \ src/comments/ \ $$(cat src/all-symlinks.txt 2>/dev/null) \ @@ -2445,6 +2445,6 @@ check: check-unit ALWAYS: -$(sources.html) $(sources.json): src/i18n.stamp -$(listings.htmllisting) $(categories.xml): src/i18n.stamp -$(articles.feedentry): src/i18n.stamp +$(sources.html) $(sources.json): src/i18n.sentinel +$(listings.htmllisting) $(categories.xml): src/i18n.sentinel +$(articles.feedentry): src/i18n.sentinel @@ -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' |
