[Checkins] SVN: bluebream/website/docs/v1.0/Makefile Added latex - not working

Baiju M baiju.m.mail at gmail.com
Sun Feb 7 20:43:16 EST 2010


Log message for revision 108862:
  Added latex - not working

Changed:
  U   bluebream/website/docs/v1.0/Makefile

-=-
Modified: bluebream/website/docs/v1.0/Makefile
===================================================================
--- bluebream/website/docs/v1.0/Makefile	2010-02-07 14:32:34 UTC (rev 108861)
+++ bluebream/website/docs/v1.0/Makefile	2010-02-08 01:43:16 UTC (rev 108862)
@@ -12,11 +12,12 @@
 PAPEROPT_letter = -D latex_paper_size=letter
 ALLSPHINXOPTS   = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
 
-.PHONY: help clean html
+.PHONY: help clean html latex
 
 help:
 	@echo "Please use \`make <target>' where <target> is one of"
 	@echo "  html      to make standalone HTML files"
+	@echo "  latex     to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
 
 clean:
 	-rm -rf $(BUILDDIR)/*
@@ -25,3 +26,10 @@
 	$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)
 	@echo
 	@echo "Build finished. The HTML pages are in $(BUILDDIR)."
+
+latex:
+	$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
+	@echo
+	@echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
+	@echo "Run \`make all-pdf' or \`make all-ps' in that directory to" \
+	      "run these through (pdf)latex."



More information about the checkins mailing list