Add common targets to Sphinx makefile.

This commit is contained in:
Kyle Isom 2015-12-22 14:49:34 -08:00
parent 2d6cc74e28
commit ddd2ac558b
2 changed files with 10 additions and 5 deletions

View File

@ -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:

View File

@ -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 <target>' where <target> 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)/*