magic/.github/workflows
Darryl L. Miles b21b20364b build: add "make prepare" and use it in docs/CI instead of database.h path
The generated header's path now depends on in-tree vs relocated builds
(database/database.h vs include/database/database.h), so instructions
that named it directly ("make database/database.h") are brittle.

Add a stable, path-independent top-level target:

    .PHONY: prepare
    prepare: ${DATABASE_H}

Being .PHONY the name is always valid, but its prerequisite is the real
file target ${DATABASE_H}, so the header is still regenerated only when
out of date -- same result, no exposed path.

Convert every "make database/database.h" in the docs, appimage
Dockerfiles, and CI workflows to "make prepare".

Verified: relocated `make prepare` generates include/database/database.h;
re-running is a no-op; touching database.h.in triggers regeneration.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-26 14:54:11 -04:00
..
appimage7.yml feat: add generate_sbom boolean input (disabled by default) and gate SBOM steps on it 2026-07-23 16:09:35 -04:00
appimage8.yml feat: add generate_sbom boolean input (disabled by default) and gate SBOM steps on it 2026-07-23 16:09:35 -04:00
appimage9.yml feat: add generate_sbom boolean input (disabled by default) and gate SBOM steps on it 2026-07-23 16:09:35 -04:00
appimage10.yml feat: add generate_sbom boolean input (disabled by default) and gate SBOM steps on it 2026-07-23 16:09:35 -04:00
canary-matrix.yml build: add "make prepare" and use it in docs/CI instead of database.h path 2026-07-26 14:54:11 -04:00
main-aarch64.yml build: add "make prepare" and use it in docs/CI instead of database.h path 2026-07-26 14:54:11 -04:00
main-macos.yml build: add "make prepare" and use it in docs/CI instead of database.h path 2026-07-26 14:54:11 -04:00
main-wasm.yml GHA: main-wasm.yml: fixup the artifact download naming and contents 2026-07-23 16:09:35 -04:00
main.yml build: add "make prepare" and use it in docs/CI instead of database.h path 2026-07-26 14:54:11 -04:00