From 6e1de68f492dbc554da914c6724fdde6a981f460 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 12 Sep 2026 09:11:05 -0300 Subject: deps.mk: Regenerate, for the tool names the rename moved The file is mkwbg(1)'s output, and it was still the old mkwb's: four rules read a value back with "$(mkwb get ...)" inside a command substitution, which the build could not find. sh: line 1: mkwb: command not found make: *** [deps.mk:2186: ...updatedat-check] Error 127 mkwbg already prints its own name; this is only the copy here catching up. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_015bWfjj7PP24iF5MqFHmdeC --- deps.mk | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/deps.mk b/deps.mk index 5936caf..a0ff7c7 100644 --- a/deps.mk +++ b/deps.mk @@ -1584,9 +1584,9 @@ src/translations.txt: deps.mk > $@ -## mkwb canonical site rules. Sites consume this content by +## mkwbg canonical site rules. Sites consume this content by ## inlining it at the end of their generated deps.mk: mkdeps.sh -## runs "mkwb rules" (which prints them) so deps.mk ends up +## runs "mkwbg rules" (which prints them) so deps.mk ends up ## self-contained -- no make-time "include" of an external file. ## The site Makefile only needs an "all:" anchor followed by ## "include deps.mk". Order matters: "all:" must come first @@ -1606,10 +1606,10 @@ src/translations.txt: deps.mk ## The site must also provide one source file: ## ## src/config.json -- a flat JSON object of strings, the site's -## own settings laid over what mkwb derives. +## own settings laid over what mkwbg derives. ## Only "email" is required of it, since ## nothing can be derived for the contact -## address; mkwb's defaults stand in for +## address; mkwbg's defaults stand in for ## every other key it leaves out. ## ## To override any of PREFIX / BINDIR / SHAREDIR / SRCDIR / @@ -1618,7 +1618,7 @@ src/translations.txt: deps.mk ## or pass "-e" to make to let env vars take precedence. ## ## "clean", "install" and "uninstall" are the site's own, and -## pristine(1) looks for all three in the Makefile itself. The +## pristineg(1) looks for all three in the Makefile itself. The ## rules still name what they act on: "$(derived-assets)" and ## "$(side-assets)" are everything the build produced, and ## "install.txt" and "sources.txt" name what to carry, to the @@ -1918,7 +1918,7 @@ src/comments.sentinel: src/comments.mbox ## Comments that did not arrive as mail: one archive per place a ## discussion happens, each read as it stands, since a record needs -## no splitting where an mbox is a stream whose messages make(1) +## no splitting where an mbox is a stream whose messages makeg(1) ## cannot name in advance. Which archives those are is $comments_json ## in the site's own config, written out above; a site that holds no ## such discussion names none and waits on nothing. @@ -1970,9 +1970,9 @@ src/config.json: echo '{}' > $@ ## Everything the configuration needs that is not in config.json: -## the three one-line files beside the site, which mkwb reads +## the three one-line files beside the site, which mkwbg reads ## itself, and the four values only make knows. LANGUAGES tells -## mkwb conf whether to path-derive a page's language (a site with +## mkwbg conf whether to path-derive a page's language (a site with ## $(root.dir)//...) or leave it empty (a flat one); empty is ## passed through as such. src/global.json: src/config.json baseurl.txt fingerprint.txt @@ -2021,7 +2021,7 @@ $(root.dir)/$(PUBURL): : > $@ $(root.dir)/$(PUBURL).sentinel: src/global.json $(root.dir)/$(PUBURL) out=$$(echo $@ | sed 's/\.sentinel$$//'); \ - gpg --export --armour "$$(mkwb get email src/global.json)" | \ + gpg --export --armour "$$(mkwbg get email src/global.json)" | \ ifne ifnew "$$out" touch $@ @@ -2100,7 +2100,7 @@ $(root.dir)/.well-known/security.txt: src/global.json baseurl.txt \ expiry.txt $(root.dir)/$(PUBURL) mkdir -p $(@D) printf 'Contact: mailto:%s\n' \ - "$$(mkwb get email src/global.json)" > $@ + "$$(mkwbg get email src/global.json)" > $@ printf 'Expires: %s\n' "$$(cat expiry.txt)" >> $@ if [ -s $(root.dir)/$(PUBURL) ]; then \ printf 'Encryption: %s/$(PUBURL)\n' \ @@ -2183,8 +2183,8 @@ check-unit-sorting: src/sort-expected.txt src/sort-given.txt .SUFFIXES: .updatedat-check sources.updatedat-check = $(sources.adoc:.adoc=.updatedat-check) $(sources.updatedat-check): - u=$$(mkwb get updatedat_epoch $*.json); \ - d=$$(mkwb get date_epoch $*.json); \ + u=$$(mkwbg get updatedat_epoch $*.json); \ + d=$$(mkwbg get date_epoch $*.json); \ if [ -n "$$u" ] && [ "$$u" -le "$$d" ]; then exit 3; fi check-unit-updatedat: $(sources.updatedat-check) @@ -2390,7 +2390,7 @@ symlink-deps = \ ## A symlink naming a FILE.gz is satisfied by FILE: the twin is ## the packager's to craft over the installed tree, not this -## build's -- see gzipdir(1). Every other link has to resolve +## build's -- see gzipdirg(1). Every other link has to resolve ## here and now. check-unit-links-symlinks: src/all-symlinks.txt $(symlink-deps) dangling=''; \ @@ -2434,7 +2434,7 @@ check-unit: check-unit-titles check-unit-listings check-unit-feed-ids check-unit: check-unit-lang check-unit-i18n check-unit-orphans check-unit: check-unit-slides -## A site anchors "check" in its own Makefile so pristine(1) finds +## A site anchors "check" in its own Makefile so pristineg(1) finds ## it there, and every site meant that to run these. One of them ## did not say so and its checks never ran, which is a silence no ## site should have to remember to break: the rules that define -- cgit v1.3