From e6d6f5a8d728f88cd0aa95159fb9845f334c5786 Mon Sep 17 00:00:00 2001 From: managan Date: Thu, 17 Dec 2009 22:06:41 +0000 Subject: [PATCH] Running PDF() on an .eps file on windows with MikTex 2.7.2767 does not work, because it does not support '-o '. 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 | 6 +++++- src/engine/SCons/Tool/pdf.py | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/CHANGES.txt b/src/CHANGES.txt index 9dff0f3d..948de2e9 100644 --- a/src/CHANGES.txt +++ b/src/CHANGES.txt @@ -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: diff --git a/src/engine/SCons/Tool/pdf.py b/src/engine/SCons/Tool/pdf.py index b98be585..050f1a57 100644 --- a/src/engine/SCons/Tool/pdf.py +++ b/src/engine/SCons/Tool/pdf.py @@ -64,7 +64,7 @@ def generate2(env): env['EPSTOPDF'] = 'epstopdf' env['EPSTOPDFFLAGS'] = SCons.Util.CLVar('') - env['EPSTOPDFCOM'] = '$EPSTOPDF $EPSTOPDFFLAGS ${SOURCE} -o ${TARGET}' + env['EPSTOPDFCOM'] = '$EPSTOPDF $EPSTOPDFFLAGS ${SOURCE} --outfile=${TARGET}' def exists(env): # This only puts a skeleton Builder in place, so if someone -- 2.26.2