'Write the file list in \'self.filelist\' (presumably as filled in
by \'add_defaults()\' and \'read_template()\') to the manifest file
named by \'self.manifest\'.'

def write_manifest(self):

    if self._manifest_is_not_generated():
        log.info(("not    writing    to    manually    maintained    manifest    file    '%s'" % self.manifest))
        return
    content = self.filelist.files[:]
    content.insert(0, '#    file    GENERATED    by    distutils,    do    NOT    edit')
    self.execute(file_util.write_file, (self.manifest, content), ("writing    manifest    file    '%s'" % self.manifest))
