OpenCores
URL https://opencores.org/ocsvn/pavr/pavr/trunk

Subversion Repositories pavr

[/] [pavr/] [trunk/] [tools/] [backup/] [build_release_chm.tcl] - Blame information for rev 8

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 4 doru
# Procedure for printing text.
2
proc Print {txt} {
3
}
4
 
5
# -------------------------------------
6
# Set source and destination paths.
7
set src             ../..
8
set dst             pavr
9
set archiveFileName pavr-release-chm.zip
10
 
11
Print "Deleting existing release directory structure...\n"
12
file delete -force $dst
13
 
14
Print "Creating temporary release directory structure...\n"
15
file mkdir $dst
16
file copy $src/doc $dst
17
file copy $src/src $dst
18
 
19
cd $dst/doc
20
Print "Cleaning documentation...\n"
21
catch {exec clean.bat} tmpMsg
22
Print "Compiling documentation...\n"
23
catch {exec compile.bat} tmpMsg
24
 
25
file copy -force ./chm/pavr.chm ../../pavr.chm
26
cd ../../
27
 
28
Print "Archiving...\n"
29
catch {exec wzzip $archiveFileName pavr.chm} tmpMsg
30
 
31
file delete -force $dst
32
file delete -force pavr.chm
33
 
34
exit

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.