ceph/man/Makefile.am

29 lines
556 B
Makefile
Raw Normal View History

2009-03-10 21:39:54 +00:00
AUTOMAKE_OPTIONS = gnu
EXTRA_DIST = conf.py
2015-01-15 09:17:34 +00:00
dist_man_MANS =
2015-03-05 18:35:02 +00:00
if ENABLE_CLIENT
include Makefile-client.am
endif
if ENABLE_SERVER
include Makefile-server.am
endif
check-local:
${SPHINX_BUILD} -b man -d doctrees -c . $(top_srcdir)/doc/man $(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_srcdir)/doc/man $(top_builddir)/man
clean-local:
@rm -f *.8
@rm -rf doctrees