support travis

This commit is contained in:
Dongdong Tian
2016-05-28 14:40:23 +08:00
parent 33e7935191
commit 5b282da1ab
5 changed files with 84 additions and 3 deletions

View File

@@ -119,9 +119,8 @@ latexpdf:
xelatexpdf:
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
@echo "Running LaTeX files through xelatex..."
sed -i s/pdflatex/xelatex/ $(BUILDDIR)/latex/Makefile
$(MAKE) -C $(BUILDDIR)/latex all-pdf
@echo "Runnning LaTeX files through xelatex..."
cd $(BUILDDIR)/latex; latexmk -xelatex -shell-escape -interaction=nonstopmode
@echo "xelatex finished; the PDF files are in $(BUILDDIR)/latex."
latexpdfja: