summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2026-09-10 11:47:09 -0300
committerEuAndreh <eu@euandre.org>2026-09-10 11:47:09 -0300
commita55fd9274b84bc5065268e9decd4b41d15326df8 (patch)
tree6099044d294f7e3ca35f99be9bcceec92dd7da3e
parentstyle.css: Keep the numbers still by taking them out of the scroll (diff)
downloadeuandre.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
Diffstat (limited to '')
-rw-r--r--.gitignore2
-rw-r--r--deps.mk12
-rwxr-xr-xmkdeps.sh10
3 files changed, 12 insertions, 12 deletions
diff --git a/.gitignore b/.gitignore
index b1fd735..4f71a1f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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
diff --git a/deps.mk b/deps.mk
index e8c3b1f..e4d7ac4 100644
--- a/deps.mk
+++ b/deps.mk
@@ -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
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'