git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 0/4] doc lint: fix recent regression, make non-.PHONY

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Oct 15, 2021, 12:39 UTC
Message-ID
<cover-0.4-00000000000-20211015T123619Z-avarab@gmail.com>

Recent patches of mine broke the "check-docs" target by using ;-chaining instead of &&-chaining, d'oh! That's currently hiding a breakage in "seen"[1], sorry!

In 1/4 that's fixed, 2/4 emits errors to STDERR instead of STDOUT, 3/4 speeds up the target by ~2x by skipping unnecessary work, and 4/4 makes it non-.PHONY.

The technique in 4/4 of exhaustively generating a dependency graph per-file is something I'm also using in some yet-to-be-submitted series of other Makefile fixes, that similarly speed things up.

1. https://lore.kernel.org/git/87lf2ueafl.fsf@evledraar.gmail.com/
Ævar Arnfjörð Bjarmason (4):
  doc lint: fix error-hiding regression
  doc lint: emit errors on STDERR
  doc build: speed up "make lint-docs"
  doc lint: make "lint-docs" non-.PHONY
 Documentation/.gitignore                  |  1 +
 Documentation/Makefile                    | 67 ++++++++++++++++++++---
 Documentation/lint-gitlink.perl           | 10 ++--
 Documentation/lint-man-end-blurb.perl     |  2 +-
 Documentation/lint-man-section-order.perl |  2 +-
 5 files changed, 69 insertions(+), 13 deletions(-)
-- 
2.33.1.1338.g20da966911a
Next: Ævar Arnfjörð Bjarmason
Message 1 of 8 in “doc lint: fix recent regression, make non-.PHONY”
  1. 0/4 doc lint: fix recent regression, make non-.PHONYÆvar Arnfjörð Bjarmason, Oct 15, 2021
  2. 1/4 doc lint: fix error-hiding regressionÆvar Arnfjörð Bjarmason, Oct 15, 2021
  3. 2/4 doc lint: emit errors on STDERRÆvar Arnfjörð Bjarmason, Oct 15, 2021
  4. 4/4 doc lint: make "lint-docs" non-.PHONYÆvar Arnfjörð Bjarmason, Oct 15, 2021
  5. Bagas SanjayaOct 16, 2021
  6. Ævar Arnfjörð BjarmasonOct 16, 2021
  7. 3/4 doc build: speed up "make lint-docs"Ævar Arnfjörð Bjarmason, Oct 15, 2021
  8. Junio C HamanoOct 15, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.