[SCons] Fix incorrect directory created in build tree

The 'Mkdir' command was creating a (literal) '#include' directory, rather than
taking the '#' to mean the top of the source tree. The 'Mkdir' command is
unnecessary anyway, since the 'Copy' command will create the necessary
subdirectory.

Fixes #304.
This commit is contained in:
Ray Speth 2015-10-29 12:22:10 -04:00
parent afde0a7b52
commit 84566a3a7d

View file

@ -51,8 +51,7 @@ def prep_cppformat(env):
localenv = prep_default(env)
build(localenv.Command("#include/cantera/ext/format.h",
"#ext/cppformat/format.h",
[Mkdir("#include/cantera/ext"),
Copy('$TARGET', '$SOURCE')]))
Copy('$TARGET', '$SOURCE')))
return localenv
# each element of libs is: (subdir, (file extensions), prepfunction)