~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to tools/win32/copy_docs.py

  • Committer: Alexander Belchenko
  • Date: 2006-06-29 08:41:31 UTC
  • mto: (1860.1.1 win32.installer)
  • mto: This revision was merged to the branch mainline in revision 1906.
  • Revision ID: bialix@ukr.net-20060629084131-3ea4d44e3204e36f
win32 installer for bzr.dev.0.9

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