git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com>
To: git@vger.kernel.org
Cc: "Junio C Hamano" <gitster@pobox.com>,
	"Ævar Arnfjörð Bjarmason" <avarab@gmail.com>
Subject: [PATCH 0/4] doc lint: fix recent regression, make non-.PHONY
Date: Fri, 15 Oct 2021 14:39:10 +0200	[thread overview]
Message-ID: <cover-0.4-00000000000-20211015T123619Z-avarab@gmail.com> (raw)

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


             reply	other threads:[~2021-10-15 12:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-15 12:39 Ævar Arnfjörð Bjarmason [this message]
2021-10-15 12:39 ` [PATCH 1/4] doc lint: fix error-hiding regression Ævar Arnfjörð Bjarmason
2021-10-15 12:39 ` [PATCH 2/4] doc lint: emit errors on STDERR Ævar Arnfjörð Bjarmason
2021-10-15 12:39 ` [PATCH 3/4] doc build: speed up "make lint-docs" Ævar Arnfjörð Bjarmason
2021-10-15 17:21   ` Junio C Hamano
2021-10-15 12:39 ` [PATCH 4/4] doc lint: make "lint-docs" non-.PHONY Ævar Arnfjörð Bjarmason
2021-10-16  1:57   ` Bagas Sanjaya
2021-10-16  5:13     ` Ævar Arnfjörð Bjarmason

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover-0.4-00000000000-20211015T123619Z-avarab@gmail.com \
    --to=avarab@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).