From 44c89ad3da8e3f7ce4864c5ac79c78c88a243ca3 Mon Sep 17 00:00:00 2001 From: itchyny Date: Tue, 27 Jun 2023 07:25:24 +0900 Subject: [PATCH] Ignore error of outdated manual test when docs disabled (fix #2310) (#2630) --- Makefile.am | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile.am b/Makefile.am index c8645478..4ccde3a0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -150,8 +150,8 @@ tests/man.test: $(srcdir)/docs/content/manual/manual.yml if ENABLE_DOCS $(AM_V_GEN) ( cd ${abs_srcdir}/docs; $(PIPENV) run python build_mantests.py ) > $@ else - @echo Changes to the manual.yml require docs to be enabled to run the tests - @false + @echo Changes to the manual.yml require docs to be enabled to update the manual test. + @echo As a result, the manual test is out of date. endif ### Building the manpage @@ -164,8 +164,8 @@ jq.1.prebuilt: $(srcdir)/docs/content/manual/manual.yml if ENABLE_DOCS $(AM_V_GEN) ( cd ${abs_srcdir}/docs; $(PIPENV) run python build_manpage.py ) > $@ || { rm -f $@; false; } else - @echo Changes to the manual.yml require docs to be enabled to generate an updated manpage - @echo As a result, your manpage is out of date. + @echo Changes to the manual.yml require docs to be enabled to update the manpage. + @echo As a result, the manpage is out of date. endif jq.1: jq.1.prebuilt