~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-07-30 16:43:12 UTC
  • mto: (1711.2.111 jam-integration)
  • mto: This revision was merged to the branch mainline in revision 1906.
  • Revision ID: bialix@ukr.net-20060730164312-b025fd3ff0cee59e
rename  gpl.txt => COPYING.txt

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