diff options
author | Robert Managan <managan1@llnl.gov> | 2009-12-17 22:06:41 (GMT) |
---|---|---|
committer | Robert Managan <managan1@llnl.gov> | 2009-12-17 22:06:41 (GMT) |
commit | 7218499a0d11b1a47d0b2c5f6801e2d430678bb2 (patch) | |
tree | c14ba21f16d013cd2579b79b662487657d1593d0 /src | |
parent | c1c4c764c7bafc411829a532c32347b3cfa42c4d (diff) | |
download | SCons-7218499a0d11b1a47d0b2c5f6801e2d430678bb2.zip SCons-7218499a0d11b1a47d0b2c5f6801e2d430678bb2.tar.gz SCons-7218499a0d11b1a47d0b2c5f6801e2d430678bb2.tar.bz2 |
Running PDF() on an .eps file on windows with MikTex 2.7.2767 does not work,
because it does not support '-o <outfile>'. This patch uses --outfile= instead,
since this works both unter linux and windows.
Patch from Stefan Hepp
Diffstat (limited to 'src')
-rw-r--r-- | src/CHANGES.txt | 6 | ||||
-rw-r--r-- | 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 9dff0f3..948de2e 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 b98be58..050f1a5 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 |