2009-03-10 21:39:54 +00:00
|
|
|
AUTOMAKE_OPTIONS = gnu
|
|
|
|
|
2015-10-06 01:57:40 +00:00
|
|
|
EXTRA_DIST = conf.py ceph_selinux.8
|
2015-04-02 22:22:01 +00:00
|
|
|
|
2015-01-15 09:17:34 +00:00
|
|
|
dist_man_MANS =
|
|
|
|
|
2015-05-04 16:26:31 +00:00
|
|
|
if WITH_MAN_PAGES
|
2015-03-05 18:35:02 +00:00
|
|
|
if ENABLE_CLIENT
|
|
|
|
include Makefile-client.am
|
|
|
|
endif
|
|
|
|
|
|
|
|
if ENABLE_SERVER
|
|
|
|
include Makefile-server.am
|
|
|
|
endif
|
2015-03-23 06:08:16 +00:00
|
|
|
|
|
|
|
# prevent `make` from running in parallel, sphinx runs better in batch mode.
|
|
|
|
.PHONY: sphinx-build.stamp
|
|
|
|
|
|
|
|
$(dist_man_MANS): sphinx-build.stamp
|
|
|
|
|
2015-04-07 10:29:35 +00:00
|
|
|
# in a tree populated from dist tarball, the $(top_srcdir)/doc is not included
|
2015-03-23 06:08:16 +00:00
|
|
|
sphinx-build.stamp:
|
2015-04-07 10:29:35 +00:00
|
|
|
if [ -d $(top_srcdir)/doc/man ] ; then \
|
2015-07-15 12:44:42 +00:00
|
|
|
${SPHINX_BUILD} -b man -d doctrees -c $(top_srcdir)/man $(top_srcdir)/doc/man $(top_builddir)/man; \
|
2015-04-07 10:29:35 +00:00
|
|
|
fi
|
2015-03-23 06:08:16 +00:00
|
|
|
|
2016-05-02 11:40:05 +00:00
|
|
|
clean-local::
|
2015-03-23 06:08:16 +00:00
|
|
|
@rm -rf doctrees
|
2015-04-07 10:29:35 +00:00
|
|
|
|
|
|
|
MAINTAINERCLEANFILES = $(dist_man_MANS)
|
2015-05-04 17:57:17 +00:00
|
|
|
endif
|