aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/Makefile
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2021-10-15 14:39:11 +0200
committerJunio C Hamano <gitster@pobox.com>2021-10-15 10:16:36 -0700
commit7e19e2efa906b9598d4c2258f6f37eb1dfffffee (patch)
tree9f2cacb2efea509aef36afbac76956351071b9a8 /Documentation/Makefile
parentebf3c04b262aa27fbb97f8a0156c2347fecafafb (diff)
downloadgit-7e19e2efa906b9598d4c2258f6f37eb1dfffffee.tar.gz
doc lint: fix error-hiding regression
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>
Diffstat (limited to 'Documentation/Makefile')
-rw-r--r--Documentation/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/Makefile b/Documentation/Makefile
index 2aae4c9cbb..a63627516c 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -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::