Do not remove manpage prebuild file on build failure

This commit is contained in:
itchyny authored and Nico Williams committed 2023-07-10 18:47:14 -05:00
1 parent 2377972dfe
commit 4c125c7ca6
1 file changed
+1 -1
+1 -1
View File
@@ -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.