From 4c125c7ca6df8cb1bda6a11fae6d7981e51bbd13 Mon Sep 17 00:00:00 2001 From: itchyny Date: Tue, 11 Jul 2023 08:32:30 +0900 Subject: [PATCH] Do not remove manpage prebuild file on build failure --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 247352f0..3b88498c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -164,7 +164,7 @@ endif man_MANS = jq.1 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; } + $(AM_V_GEN) ( cd ${abs_srcdir}/docs; $(PIPENV) run python build_manpage.py ) > $@ else @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.