mirror of
https://github.com/ceph/ceph
synced 2025-01-28 22:14:02 +00:00
301fe6cbf2
* move rst files from doc/man/8 into man/8 * extract man_pages setting for sphinx from doc/conf.py to man/conf.py * generate all man pages in `make install` * add python-sphinx to Build-Depends * check for sphinx-build in `configure` * run changed rst files through sphinx-build in `make check` Signed-off-by: Kefu Chai <kchai@redhat.com>
27 lines
483 B
Makefile
27 lines
483 B
Makefile
AUTOMAKE_OPTIONS = gnu
|
|
|
|
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
|