mirror of
https://github.com/ceph/ceph
synced 2024-12-29 06:52:35 +00:00
0e00d2f21b
Signed-off-by: Kefu Chai <kchai@redhat.com>
32 lines
677 B
Makefile
32 lines
677 B
Makefile
AUTOMAKE_OPTIONS = gnu
|
|
|
|
EXTRA_DIST = conf.py ceph_selinux.8
|
|
|
|
dist_man_MANS =
|
|
|
|
if WITH_MAN_PAGES
|
|
if ENABLE_CLIENT
|
|
include Makefile-client.am
|
|
endif
|
|
|
|
if ENABLE_SERVER
|
|
include Makefile-server.am
|
|
endif
|
|
|
|
# prevent `make` from running in parallel, sphinx runs better in batch mode.
|
|
.PHONY: sphinx-build.stamp
|
|
|
|
$(dist_man_MANS): sphinx-build.stamp
|
|
|
|
# in a tree populated from dist tarball, the $(top_srcdir)/doc is not included
|
|
sphinx-build.stamp:
|
|
if [ -d $(top_srcdir)/doc/man ] ; then \
|
|
${SPHINX_BUILD} -b man -t man -d doctrees -c $(top_srcdir)/man $(top_srcdir)/doc/man $(top_builddir)/man; \
|
|
fi
|
|
|
|
clean-local::
|
|
@rm -rf doctrees
|
|
|
|
MAINTAINERCLEANFILES = $(dist_man_MANS)
|
|
endif
|