makefile update at Thu Nov 20 16:20:34 CST 2014

This commit is contained in:
T.J. Yang 2014-11-20 16:20:34 -06:00
parent 7497336a68
commit 7e1a399abd

View file

@ -56,6 +56,7 @@ help:
@echo " epub to make an epub"
@echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
@echo " xetexpdf to make LaTeX files and run them through xelatex"
@echo " cheatsheet to create salt-cheatsheet.pdf"
@echo " latexpdf to make LaTeX files and run them through pdflatex"
@echo " latexpdfja to make LaTeX files and run them through platex/dvipdfmx"
@echo " text to make text files"
@ -153,6 +154,11 @@ xetexpdf: translations
$(MAKE) -C $(BUILDDIR)/latex -i
@echo "xelatex finished; the PDF files are in $(BUILDDIR)/latex."
cheatsheet: translations
@echo "Running cheatsheet/salt.tex file through xelatex..."
cd cheatsheet && xelatex salt.tex && cp salt.pdf ../salt-cheatsheet.pdf
@echo "./salt-cheatsheet.pdf created."
text: translations
$(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
@echo