'Call asciidoc for the given files.
Args:
src: The source .asciidoc file.
dst: The destination .html file, or None to auto-guess.
*args: Additional arguments passed to asciidoc.'

def call(self, src, dst, *args):

    print 'Calling    asciidoc    for    {}...'.format(os.path.basename(src))
    cmdline = self._cmd[:]
    if (dst is not None):
        cmdline += ['--out-file', dst]
    cmdline += args
    cmdline.append(src)
    try:
        env = os.environ.copy()
        env['HOME'] = self._homedir
        subprocess.check_call(cmdline, env=env)
    except (subprocess.CalledProcessError, OSError) as e:
        self._failed = True
        utils.print_col(str(e), 'red')
        print 'Keeping    modified    sources    in    {}.'.format(self._homedir)
        sys.exit(1)
