Another fix attempt to Makefile.sphinx - copy the PNGs from tutorial/ as well,
authorEli Bendersky <eliben@google.com>
Sat, 1 Dec 2012 22:21:04 +0000 (22:21 +0000)
committerEli Bendersky <eliben@google.com>
Sat, 1 Dec 2012 22:21:04 +0000 (22:21 +0000)
and recursive copying is not required for the tutorial/ directory.

llvm-svn: 169105

llvm/docs/Makefile.sphinx

index 78c3d71..8b9cb8b 100644 (file)
@@ -49,7 +49,8 @@ html:
        @# FIXME: Remove this `cp` once HTML->Sphinx transition is completed.
        @# Kind of a hack, but HTML-formatted docs are on the way out anyway.
        @echo "Copying legacy HTML-formatted docs into $(BUILDDIR)/html"
-       @cp -a *.html tutorial/*.html $(BUILDDIR)/html
+       @cp -a *.html $(BUILDDIR)/html
+       @cp tutorial/*.html tutorial/*.png $(BUILDDIR)/html
        @echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
 
 dirhtml: