/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to tools/package_docs.py

  • Committer: Jelmer Vernooij
  • Date: 2017-05-21 19:09:26 UTC
  • mfrom: (6622.1.36 breezy)
  • Revision ID: jelmer@jelmer.uk-20170521190926-5vtz8xaf0e9ylrpc
Merge rename to breezy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
    copytree(src_html, dest_html)
42
42
 
43
43
    # Package the html as a downloadable archive
44
 
    archive_root = "bzr-%s-html" % (section,)
 
44
    archive_root = "brz-%s-html" % (section,)
45
45
    archive_basename = "%s.tar.bz2" % (archive_root,)
46
46
    archive_name = os.path.join(dest_downloads, archive_basename)
47
47
    build_archive(src_html, archive_name, archive_root, 'bz2')
49
49
    # Copy across the PDF docs, if any, including the quick ref card
50
50
    pdf_files = []
51
51
    quick_ref = os.path.join(src_html,
52
 
        '_static/%s/bzr-%s-quick-reference.pdf' % (section, section))
 
52
        '_static/%s/brz-%s-quick-reference.pdf' % (section, section))
53
53
    if os.path.exists(quick_ref):
54
54
        pdf_files.append(quick_ref)
55
55
    src_pdf = os.path.join(src_build, 'latex')