X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=Makefile.am;h=dfe70a570d3a885c7636a48327a6f6ea0b6a87dc;hp=fc7e8c429e8525281cbda51922e2150920da96e4;hb=603c0b7b14a6b59a87ede20b2fdb6765e773c0ed;hpb=2c07646764384545e5303222729d5ff93dec4347 diff --git a/Makefile.am b/Makefile.am index fc7e8c429..dfe70a570 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3453,13 +3453,12 @@ BUILT_SOURCES += \ src/python-systemd/id128-constants.h endif -if ENABLE_SPHINX PAPER = $(shell cat /etc/papersize 2>/dev/null || echo a4) SPHINXOPTS = -D latex_paper_size=$(PAPER) sphinx-%: + $(AM_V_at)test -n "$(SPHINX_BUILD)" || { echo " *** sphinx-build is not available"; exit 1; } $(AM_V_GEN)PYTHONPATH=$(DESTDIR)$(pyexecdir) $(SPHINX_BUILD) -b $* $(SPHINXOPTS) $(top_srcdir)/src/python-systemd/docs $(top_builddir)/man/python-systemd/ $(AM_V_at)echo Output has been generated in $(abs_top_builddir)/man/python-systemd/ -endif # ------------------------------------------------------------------------------ SED_PROCESS = \