Running PDF() on an .eps file on windows with MikTex 2.7.2767 does not work,
authormanagan <managan@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Thu, 17 Dec 2009 22:06:41 +0000 (22:06 +0000)
committermanagan <managan@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Thu, 17 Dec 2009 22:06:41 +0000 (22:06 +0000)
because it does not support '-o <outfile>'. This patch uses --outfile= instead,
since this works both unter linux and windows.

Patch from Stefan Hepp

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4560 fdb21ef1-2011-0410-befe-b5e4ea1792b1

src/CHANGES.txt
src/engine/SCons/Tool/pdf.py

index 9dff0f3d548d16aa1d7f239353129b0a33388aea..948de2e90fed7a22fba16468ade767ac7f3337d6 100644 (file)
@@ -120,10 +120,14 @@ RELEASE X.X.X - XXX
 
     - Fix problem with filenames of sideeffects when the user changes
       the name of the output file from the latex default
-      
+
     - Add scanning of files included in Latex by means of \lstinputlisting{}
       Patch from Stefan Hepp.
 
+    - Change command line for epstopdf to use --outfile= instead of -o
+      since this works on all platforms.
+      Patch from Stefan Hepp.
+
 RELEASE 1.2.0.d20090223 - Mon, 23 Feb 2009 08:41:06 -0800
 
   From Stanislav Baranov:
index b98be58544b43937a7691470418f5aec87f7b514..050f1a572cd27ab5fd7c1a8b43d49adc09acbce3 100644 (file)
@@ -64,7 +64,7 @@ def generate2(env):
 
     env['EPSTOPDF']      = 'epstopdf'
     env['EPSTOPDFFLAGS'] = SCons.Util.CLVar('')
-    env['EPSTOPDFCOM']   = '$EPSTOPDF $EPSTOPDFFLAGS ${SOURCE} -${TARGET}'
+    env['EPSTOPDFCOM']   = '$EPSTOPDF $EPSTOPDFFLAGS ${SOURCE} --outfile=${TARGET}'
 
 def exists(env):
     # This only puts a skeleton Builder in place, so if someone