Do not remove manpage prebuild file on build failure
This commit is contained in:
1 parent
2377972dfe
commit
4c125c7ca6
1 file changed
+1
-1
+1
-1
@@ -164,7 +164,7 @@ endif
|
|||||||
man_MANS = jq.1
|
man_MANS = jq.1
|
||||||
jq.1.prebuilt: $(srcdir)/docs/content/manual/manual.yml
|
jq.1.prebuilt: $(srcdir)/docs/content/manual/manual.yml
|
||||||
if ENABLE_DOCS
|
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
|
else
|
||||||
@echo Changes to the manual.yml require docs to be enabled to update the manpage.
|
@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.
|
@echo As a result, the manpage is out of date.
|
||||||
|
|||||||
Reference in new issue
Block a user