summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorLoic Dachary <ldachary@redhat.com>2015-04-03 01:46:36 +0200
committerLoic Dachary <ldachary@redhat.com>2015-04-03 02:59:58 +0200
commite39070fea7bd2568860076c3360dc306ab73d64e (patch)
treeb1bf624920dbd44de2066c3c9a14b416ee30e6a1 /man
parentspec.in: sphinx -b man needs sphinx > 1.0 (diff)
downloadceph-e39070fea7bd2568860076c3360dc306ab73d64e.tar.xz
ceph-e39070fea7bd2568860076c3360dc306ab73d64e.zip
man: using sphinx-1.0-build if no sphinx-build
On RHEL 6 and CentOS 6 sphinx 1.0+ which is required to build man pages is packaged as sphinx10 instead of sphinx and the binary is sphinx-1.0-build instead of sphinx-build. Signed-off-by: Loic Dachary <ldachary@redhat.com>
Diffstat (limited to 'man')
-rw-r--r--man/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index bc7dc717d1a..9927646f018 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -13,7 +13,7 @@ include Makefile-server.am
endif
check-local:
- sphinx-build -b man -d doctrees . $(top_builddir)/man
+ ${SPHINX_BUILD} -b man -d doctrees . $(top_builddir)/man
# prevent `make` from running in parallel, sphinx runs better in batch mode.
.PHONY: sphinx-build.stamp
@@ -21,7 +21,7 @@ check-local:
$(dist_man_MANS): sphinx-build.stamp
sphinx-build.stamp:
- sphinx-build -Q -b man -d doctrees -c . . $(top_builddir)/man
+ ${SPHINX_BUILD} -Q -b man -d doctrees -c . . $(top_builddir)/man
clean-local:
@rm -f *.8