Fixed header file installation

This commit is contained in:
Ray Speth 2012-02-12 02:47:49 +00:00
parent 15294f27fe
commit 2589e3c926

View file

@ -830,15 +830,8 @@ env.Append(CPPPATH=[Dir('build/include/cantera'),
F90FLAGS=[defaults.fPIC])
# Put headers in place
for header in mglob(env, 'Cantera/cxx/include', 'h'):
header = env.Command('build/include/cantera/%s' % header.name, header,
Copy('$TARGET', '$SOURCE'))
buildTargets.extend(header)
inst = env.Install('$inst_incdir', header)
installTargets.extend(inst)
inst = env.Install(pjoin('$inst_incdir', 'kernel'), config_h)
headerBase = 'include/cantera'
inst = env.RecursiveInstall('$inst_incdir', 'include/cantera')
installTargets.extend(inst)