def build_media(self):
logger.debug("<STR_LIT>")<EOL>if self.verbosity > <NUM_LIT:1>:<EOL><INDENT>self.stdout.write("<STR_LIT>")<EOL><DEDENT>if os.path.exists(self.media_root) and settings.MEDIA_URL:<EOL><INDENT>target_dir = path.join(self.fs_name, self.build_dir, settings.MEDIA_URL.lstrip('<STR_LIT:/>'))<EOL>logger.debug("<STR_LIT>".format("<STR_LIT>", self.media_root, self.fs_name, target_dir))<EOL>copy.copy_dir("<STR_LIT>", smart_text(self.media_root), self.fs, smart_text(target_dir))<EOL><DEDENT>
Build the media files.