Update docs.
[awesomized/libmemcached] / docs / include.am
index 070a36c3f95fc9183e0280609f715bbb53f42226..12eb61df768f90973ab99722702f8a45bef48b7d 100644 (file)
@@ -154,7 +154,11 @@ sphinx-help:
        @echo "  linkcheck  to check all external links for integrity"
        @echo "  doctest    to run all doctests embedded in the documentation (if enabled)"
 
-html-local: docs/conf.py changes
+install-html: html-local
+       @rm -r -f /var/www/libmemcaced
+       @cp -r docs/html /var/www/libmemcaced
+
+html-local: docs/conf.py changes docs
        PYTHONPATH=${top_srcdir}/docs $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/html
        @echo
        @echo "Build finished. The HTML pages are in $(SPHINX_BUILDDIR)/html."