From ddd2ac558b005ca11f66bcb75e164c1be38d5419 Mon Sep 17 00:00:00 2001 From: Kyle Isom Date: Tue, 22 Dec 2015 14:49:34 -0800 Subject: [PATCH] Add common targets to Sphinx makefile. --- Makefile.am | 8 ++++---- doc/Makefile | 7 ++++++- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/Makefile.am b/Makefile.am index 641d117..f90a620 100644 --- a/Makefile.am +++ b/Makefile.am @@ -7,11 +7,11 @@ TESTS = src/emsha_core_test \ src/emsha_mem_test \ src/emsha_static_mem_test -dist_data_DATA = LICENSE \ +dist_data_DATA = LICENSE \ README.rst -dist_noinst_DATA = autobuild \ - doc/sphinx/source \ - doc/sphinx/Makefile +dist_noinst_DATA = autobuild \ + doc/source \ + doc/Makefile .PHONY: valgrind-check valgrind-check: diff --git a/doc/Makefile b/doc/Makefile index e8a3ce1..45d1363 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -19,7 +19,7 @@ ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) sou # the i18n builder cannot share the environment and doctrees with the others I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source -.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex pdf latexpdf text man changes linkcheck doctest gettext +.PHONY: help all distclean clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex pdf latexpdf text man changes linkcheck doctest gettext check help: @echo "Please use \`make ' where is one of" @@ -46,6 +46,11 @@ help: @echo " linkcheck to check all external links for integrity" @echo " doctest to run all doctests embedded in the documentation (if enabled)" +all: html + +check: + +distclean: clean clean: rm -rf $(BUILDDIR)/*