~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to tools/win32/copy_docs.py

merged installer work

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))