From: W. Trevor King Date: Sat, 16 Jun 2012 18:52:46 +0000 (-0400) Subject: Create figures/scratch immediately, so it's there by the time we run LaTeX. X-Git-Tag: v1.0~347 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b7afce4cc192c4a96121be3970714cf5cca7a4ca;p=thesis.git Create figures/scratch immediately, so it's there by the time we run LaTeX. --- diff --git a/src/figures/SConscript b/src/figures/SConscript index 33d2016..031615e 100644 --- a/src/figures/SConscript +++ b/src/figures/SConscript @@ -4,6 +4,8 @@ from site_cons.site_tools.asymptote import asyfigs # Get the passed in environment. Import('env') +if Execute(Mkdir('scratch')): + Exit(1) # failed to make the Asymptote scratch directory env = include_child_SConscripts(env, SConscript, first=['asy', 'script']) env.Alias('asymptote-figures', asyfigs)