~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to tools/win32/copy_docs.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-04-27 01:14:33 UTC
  • mfrom: (1686.1.1 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20060427011433-95634ee1da8a2049
Merge in faster joins from weave to knit.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
import glob
2
 
import os
3
 
import shutil
4
 
 
5
 
TGT_DIR = 'win32_bzr.exe/doc'
6
 
 
7
 
if not os.path.exists(TGT_DIR):
8
 
    os.makedirs(TGT_DIR)
9
 
 
10
 
for i in glob.glob('doc/*.htm'):
11
 
    shutil.copy(i, os.path.join('win32_bzr.exe', i))
12
 
 
13
 
CSS = 'doc/default.css'
14
 
if os.path.isfile(CSS):
15
 
    shutil.copy(CSS, os.path.join('win32_bzr.exe', CSS))