From: Mike Bayer Date: Mon, 26 Aug 2019 23:41:58 +0000 (-0400) Subject: change dist-html to use cp X-Git-Tag: rel_1_1_0~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d37c1475619c762183d802f0ce073e48c4e21f7d;p=thirdparty%2Fsqlalchemy%2Falembic.git change dist-html to use cp for unknown reasons sphinx is suddenly having a problem with the _static directory being moved a directory upwards, so change how dist-html works to just build normally then move files Change-Id: I3f1c7260975c91c90a8e1ffb16ecb481aa3a583f --- diff --git a/docs/build/Makefile b/docs/build/Makefile index 313a81e0..8762826f 100644 --- a/docs/build/Makefile +++ b/docs/build/Makefile @@ -37,7 +37,9 @@ html: @echo "Build finished. The HTML pages are in $(BUILDDIR)/html." dist-html: - $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) .. + $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html + cp -R $(BUILDDIR)/html/* ../ + rm -fr $(BUILDDIR)/html @echo @echo "Build finished. The HTML pages are in ../."