[Scons-users] Can't get Copy to work?
Ale Strooisma
a.strooisma at student.utwente.nl
Tue May 10 05:25:35 EDT 2016
Hi all,
this is probably just a very silly mistake, or perhaps some variantdir
oddity, but I when I try to build my latex document with the following
SConstruct file, no copy appears in the root directory. Can anyone point
out what I am doing wrong?
Kind regards,
Ale Strooisma
# Set out-of source build
VariantDir('build', '.') # Main .tex file and .bib file
VariantDir('build/tex', 'tex') # Chapter .tex files
VariantDir('build/img', 'img') # Images (.pdf)
# Prepare the environment
env = Environment()
env.AppendUnique(PDFLATEXFLAGS=['-shell-escape'])
# Build rules
pdf = env.PDF('build/report.tex')
Copy('report.pdf', pdf)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20160510/96046ee3/attachment.html>
More information about the Scons-users
mailing list