copy config header files to prefix/include

This commit is contained in:
Gregory L. Lee 2014-03-17 15:14:58 -07:00 committed by Todd Gamblin
parent 50f74c117e
commit d224718d96

View file

@ -13,3 +13,9 @@ def install(self, spec, prefix):
make()
make("install")
# TODO: copy configuration header files to include directory
# this can be removed once we have STAT-2.1.0
import shutil
shutil.copy2('%s/lib/mrnet-%s/include/mrnet_config.h' % (prefix, self.version), '%s/include/mrnet_config.h' % prefix)
shutil.copy2('%s/lib/xplat-%s/include/xplat_config.h' % (prefix, self.version), '%s/include/xplat_config.h' % prefix)