summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a82ea6e)
raw | patch | inline | side by side (parent: a82ea6e)
author | Florian Forster <octo@huhu.verplant.org> | |
Fri, 12 Oct 2007 07:32:23 +0000 (09:32 +0200) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Fri, 12 Oct 2007 07:32:23 +0000 (09:32 +0200) |
Since Sebastian's patch ships the .pod files in the distribution, this may not
fail when perl-doc is not installed.
fail when perl-doc is not installed.
src/Makefile.am | patch | blob | history |
diff --git a/src/Makefile.am b/src/Makefile.am
index 57a9697de9cb6d9ce52a331ca4a313c8ee3215ac..fe69e8c688b03235eb42321e19de1e581cea32bb 100644 (file)
--- a/src/Makefile.am
+++ b/src/Makefile.am
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)