build(make): keep only user-facing targets #73

Merged
claudiomaradonna merged 1 commit from build/simplify-makefile into master 2026-10-06 14:08:26 +02:00
Collaborator

The Makefile now exposes the four commands a person runs: build
(the default goal), serve, clean and prod_build. The internal steps
become prerequisites instead of targets of their own:

  • tag pages are regenerated by both build and serve; serve used to
    skip them, so a fresh checkout served no tag pages;
  • assets-js is now the src/assets/main.js file rule, and matomo.js
    gets its own copy rule, so editing it refreshes the copy (before,
    it was copied only when the main.js sources changed);
  • buildx-init is folded into prod_build.

assets-images is dropped: the @2x logo is committed, and the
production build overwrote it with an upscale of the 1x logo. The
builder image loses ImageMagick, the Dockerfile runs make build
instead of repeating its steps, and the architecture doc keeps the
magick command for the day the logo changes.

Docs, the AGENTS.md tag note and the Claude allowlist follow the
new target set.

The Makefile now exposes the four commands a person runs: build (the default goal), serve, clean and prod_build. The internal steps become prerequisites instead of targets of their own: - tag pages are regenerated by both build and serve; serve used to skip them, so a fresh checkout served no tag pages; - assets-js is now the src/assets/main.js file rule, and matomo.js gets its own copy rule, so editing it refreshes the copy (before, it was copied only when the main.js sources changed); - buildx-init is folded into prod_build. assets-images is dropped: the @2x logo is committed, and the production build overwrote it with an upscale of the 1x logo. The builder image loses ImageMagick, the Dockerfile runs make build instead of repeating its steps, and the architecture doc keeps the magick command for the day the logo changes. Docs, the AGENTS.md tag note and the Claude allowlist follow the new target set.
The Makefile now exposes the four commands a person runs: build
(the default goal), serve, clean and prod_build. The internal steps
become prerequisites instead of targets of their own:

- tag pages are regenerated by both build and serve; serve used to
  skip them, so a fresh checkout served no tag pages;
- assets-js is now the src/assets/main.js file rule, and matomo.js
  gets its own copy rule, so editing it refreshes the copy (before,
  it was copied only when the main.js sources changed);
- buildx-init is folded into prod_build.

assets-images is dropped: the @2x logo is committed, and the
production build overwrote it with an upscale of the 1x logo. The
builder image loses ImageMagick, the Dockerfile runs make build
instead of repeating its steps, and the architecture doc keeps the
magick command for the day the logo changes.

Docs, the AGENTS.md tag note and the Claude allowlist follow the
new target set.
claudiomaradonna deleted branch build/simplify-makefile 2026-10-06 14:08:30 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
unitoo/website!73
No description provided.