Create figures/scratch immediately, so it's there by the time we run LaTeX.
authorW. Trevor King <wking@tremily.us>
Sat, 16 Jun 2012 18:52:46 +0000 (14:52 -0400)
committerW. Trevor King <wking@tremily.us>
Sat, 16 Jun 2012 18:52:46 +0000 (14:52 -0400)
src/figures/SConscript

index 33d20168f8dfdee64dd4e9f754ee73e2d16d9873..031615e65dac7e5a8abdc03b7994a624ca6d866d 100644 (file)
@@ -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)