]> git.ipfire.org Git - thirdparty/git.git/commitdiff
doc lint: fix error-hiding regression
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Fri, 15 Oct 2021 12:39:11 +0000 (14:39 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 15 Oct 2021 17:16:36 +0000 (10:16 -0700)
Fix the broken "make lint-docs" (or "make check-docs" at the
top-level) target, which has been broken since my cafd9828e89 (doc
lint: lint and fix missing "GIT" end sections, 2021-04-09).

The CI for "seen" is emitting an error about a broken gitlink, but due
to there being 3x scripts chained via ";" instead of "&&" we're not
carrying forward the non-zero exit code.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/Makefile

index 2aae4c9cbb3503fa7e69a7dc0a774d7d15f92178..a63627516c7577f203bc974a5afed087bc39e7cf 100644 (file)
@@ -483,9 +483,9 @@ lint-docs::
                $(HOWTO_TXT) $(DOC_DEP_TXT) \
                --section=1 $(MAN1_TXT) \
                --section=5 $(MAN5_TXT) \
-               --section=7 $(MAN7_TXT); \
-       $(PERL_PATH) lint-man-end-blurb.perl $(MAN_TXT); \
-       $(PERL_PATH) lint-man-section-order.perl $(MAN_TXT);
+               --section=7 $(MAN7_TXT) && \
+       $(PERL_PATH) lint-man-end-blurb.perl $(MAN_TXT) && \
+       $(PERL_PATH) lint-man-section-order.perl $(MAN_TXT)
 
 ifeq ($(wildcard po/Makefile),po/Makefile)
 doc-l10n install-l10n::