def release_target_info(self):
        if (self.released_target_info or SCons.Node.interactive):
            return
        if not hasattr(self.attributes, 'keep_targetinfo'):
            self.changed(allowcache=True)
            self.get_contents_sig()
            self.get_build_env()
            self.executor = None
            self._memo.pop('rfile', None)
            self.prerequisites = None
            if not len(self.ignore_set):
                self.ignore_set = None
            if not len(self.implicit_set):
                self.implicit_set = None
            if not len(self.depends_set):
                self.depends_set = None
            if not len(self.ignore):
                self.ignore = None
            if not len(self.depends):
                self.depends = None
            self.released_target_info = True