From ba4bb136bbe371d96388fc505d036327581d7f2d Mon Sep 17 00:00:00 2001 From: Stephen Dolan Date: Thu, 9 May 2013 20:43:26 +0100 Subject: [PATCH] Fix manpage build. --- Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 33175cd..fb9aee0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -60,7 +60,9 @@ jq.1: $(srcdir)/docs/content/3.manual/manual.yml jq.1.default: $(srcdir)/docs/default_manpage.md ( cd ${abs_srcdir}/docs; '$(BUNDLER)' exec rake manpage_default ) > $@ || { rm -f $@; false; } real_docs: jq.1 - cmp jq.1 $(srcdir)/jq.1.default > /dev/null && { rm -f jq.1; $(MAKE) $(AM_MAKEFLAGS) jq.1; } + if cmp jq.1 $(srcdir)/jq.1.default > /dev/null; then\ + rm -f jq.1; $(MAKE) $(AM_MAKEFLAGS) jq.1;\ + fi else jq.1: $(srcdir)/jq.1.default cp $^ $@ -- 2.40.0