Fix doc EXTRA_DIST to include source .rst files

Also erase generated .rst files on `make clean`.
This commit is contained in:
Tatsuhiro Tsujikawa 2014-02-15 17:49:32 +09:00
parent a8ed200a20
commit f25545b2db
1 changed files with 8 additions and 4 deletions

View File

@ -23,9 +23,13 @@
man_MANS = nghttp.1 nghttpd.1 nghttpx.1
EXTRA_DIST = README.rst apiref-header.rst index.rst mkapiref.py \
package_README.rst tutorial-client.rst tutorial-server.rst \
nghttp2.h.rst nghttp2ver.h.rst \
EXTRA_DIST = \
mkapiref.py \
README.rst \
apiref-header.rst \
sources/index.rst \
sources/tutorial-client.rst \
sources/tutorial-server.rst \
_themes/sphinx_rtd_theme/footer.html \
_themes/sphinx_rtd_theme/theme.conf \
_themes/sphinx_rtd_theme/layout_old.html \
@ -85,7 +89,7 @@ apiref.rst: $(top_builddir)/lib/includes/nghttp2/nghttp2ver.h \
$(PYTHON) $(top_srcdir)/doc/mkapiref.py \
--header $(top_srcdir)/doc/apiref-header.rst $^ > $@
clean:
clean-local:
-rm apiref.rst
-rm -rf $(BUILDDIR)/*