@run_after('install')
def install_headers(self):
    if ('+headers' in self.spec):
        extradir = join_path(self.prefix.include, 'extra')
        mkdirp(extradir)
        install_tree('include', extradir)
        for current_file in glob.glob(join_path(self.build_directory, 'bfd', '*.h')):
            install(current_file, extradir)
@run_after('install')
def install_headers(self):
    if ('+headers' in self.spec):
        extradir = join_path(self.prefix.include, 'extra')
        mkdirp(extradir)
        install_tree('include', extradir)
        for current_file in glob.glob(join_path(self.build_directory, 'bfd', '*.h')):
            install(current_file, extradir)