[Python-checkins] r66385 - doctools/trunk/sphinx/texinputs/Makefile

georg.brandl python-checkins at python.org
Thu Sep 11 09:15:01 CEST 2008


Author: georg.brandl
Date: Thu Sep 11 09:15:01 2008
New Revision: 66385

Log:
Quote input file names, so that it works when they contain shell-metacharacters.


Modified:
   doctools/trunk/sphinx/texinputs/Makefile

Modified: doctools/trunk/sphinx/texinputs/Makefile
==============================================================================
--- doctools/trunk/sphinx/texinputs/Makefile	(original)
+++ doctools/trunk/sphinx/texinputs/Makefile	Thu Sep 11 09:15:01 2008
@@ -31,22 +31,22 @@
 # The number of LaTeX runs is quite conservative, but I don't expect it
 # to get run often, so the little extra time won't hurt.
 %.dvi: %.tex
-	latex $<
-	latex $<
-	latex $<
-	-makeindex -s python.ist $(basename $<).idx
-	-makeindex -s python.ist $(basename mod$<).idx
-	latex $<
-	latex $<
+	latex '$<'
+	latex '$<'
+	latex '$<'
+	-makeindex -s python.ist $(basename '$<').idx
+	-makeindex -s python.ist $(basename 'mod$<').idx
+	latex '$<'
+	latex '$<'
 
 %.pdf: %.tex
-	pdflatex $<
-	pdflatex $<
-	pdflatex $<
-	-makeindex -s python.ist $(basename $<).idx
-	-makeindex -s python.ist $(basename mod$<).idx
-	pdflatex $<
-	pdflatex $<
+	pdflatex '$<'
+	pdflatex '$<'
+	pdflatex '$<'
+	-makeindex -s python.ist $(basename '$<').idx
+	-makeindex -s python.ist $(basename 'mod$<').idx
+	pdflatex '$<'
+	pdflatex '$<'
 
 clean:
 	rm -f *.pdf *.dvi *.ps


More information about the Python-checkins mailing list