mirror of
https://github.com/ceph/ceph
synced 2025-03-25 11:48:05 +00:00
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>
29 lines
511 B
Makefile
29 lines
511 B
Makefile
AUTOMAKE_OPTIONS = gnu
|
|
|
|
EXTRA_DIST = conf.py
|
|
|
|
dist_man_MANS =
|
|
|
|
if ENABLE_CLIENT
|
|
include Makefile-client.am
|
|
endif
|
|
|
|
if ENABLE_SERVER
|
|
include Makefile-server.am
|
|
endif
|
|
|
|
check-local:
|
|
${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
|
|
|
|
$(dist_man_MANS): sphinx-build.stamp
|
|
|
|
sphinx-build.stamp:
|
|
${SPHINX_BUILD} -Q -b man -d doctrees -c . . $(top_builddir)/man
|
|
|
|
clean-local:
|
|
@rm -f *.8
|
|
@rm -rf doctrees
|