From 687120a0e091874aba7bc6b25e207b3f021374af Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Fri, 12 Oct 2007 09:32:23 +0200 Subject: [PATCH] src/Makefile.am: Make manpage creation fail-safe. Since Sebastian's patch ships the .pod files in the distribution, this may not fail when perl-doc is not installed. --- src/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 57a9697d..fe69e8c6 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -584,10 +584,10 @@ EXTRA_DIST += collectd-email.pod collectd-exec.pod collectd-nagios.pod \ collectd.conf.pod collectd.pod .pod.1: - pod2man --release=$(VERSION) --center=$(PACKAGE) $< >$@ + pod2man --release=$(VERSION) --center=$(PACKAGE) $< >.pod2man.tmp 2>/dev/null && mv -f .pod2man.tmp $@ || true .pod.5: - pod2man --section=5 --release=$(VERSION) --center=$(PACKAGE) $< >$@ + pod2man --section=5 --release=$(VERSION) --center=$(PACKAGE) $< >.pod2man.tmp 2>/dev/null && mv -f .pod2man.tmp $@ || true install-exec-hook: $(mkinstalldirs) $(DESTDIR)$(sysconfdir) -- 2.30.2