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 /mkdeps.sh | |
| 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
Diffstat (limited to '')
| -rwxr-xr-x | mkdeps.sh | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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' |
