From: Kees Monshouwer Date: Sat, 9 Jul 2016 16:49:03 +0000 (+0200) Subject: don't make recursor manpages if pandoc is missing X-Git-Tag: auth-4.0.1~31^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66cc0eec65b3d95a34b3b17ede6f29320bd03862;p=thirdparty%2Fpdns.git don't make recursor manpages if pandoc is missing --- diff --git a/pdns/recursordist/Makefile.am b/pdns/recursordist/Makefile.am index 8ff5623146..ab5809c29c 100644 --- a/pdns/recursordist/Makefile.am +++ b/pdns/recursordist/Makefile.am @@ -229,20 +229,21 @@ recursor.conf-dist: pdns_recursor MANPAGES=pdns_recursor.1 \ rec_control.1 -dist_man_MANS=$(MANPAGES) +if HAVE_PANDOC + dist_man_MANS=$(MANPAGES) +endif +if HAVE_MANPAGES + dist_man_MANS=$(MANPAGES) +endif if HAVE_PANDOC $(MANPAGES): %: %.md $(AM_V_GEN)$(PANDOC) -s -t man $< -o $@ else -if HAVE_MANPAGES -#nothing -else $(MANPAGES): echo "You need pandoc to generate the manpages" exit 1 endif -endif if HAVE_SYSTEMD pdns-recursor.service: pdns-recursor.service.in