/[eiffelstudio]/trunk/Delivery/scripts/windows/make_xml_documentation.btm
ViewVC logotype

Contents of /trunk/Delivery/scripts/windows/make_xml_documentation.btm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 56002 - (show annotations)
Sun Dec 4 22:32:09 2005 UTC (14 years, 1 month ago) by manus
File size: 4028 byte(s)
Updated to use svn instead of cvs.

1 remtrace Check the status
2 iff not defined DOCUMENT_DIR then
3 echo DOCUMENT_DIR is not defined. Cannot continue
4 CANCEL
5 endiff
6 iff not isdir %DOCUMENT_DIR then
7 echo %DOCUMENT_DIR is not a directory
8 CANCEL
9 endiff
10 iff not isdir %INSTALL_DIR\docs then
11 echo No destination directory for the documentation
12 CANCEL
13 endiff
14 iff "%@SEARCH[hhc.exe]" == "" then
15 echo Cannot find a version of HTML Help. Cannot continue
16 CANCEL
17 endiff
18
19 remtrace --------------------------------------------------------
20 remtrace Checkout up to date version of XML documentation files |
21 remtrace --------------------------------------------------------
22
23 cdd %DOCUMENT_DIR
24 if isdir xmldoc fullrd xmldoc
25 if exist xmldoc fullrd xmldoc
26 co %DEFAULT_CVS_TAG/Delivery/xmldoc xmldoc
27
28
29 remtrace ---------------------------------------------
30 remtrace Checkout and compile the Documentation tool |
31 remtrace ---------------------------------------------
32
33 cdd %EIFFEL_SRC\tools
34 co %DEFAULT_CVS_TAG/Src/tools/doc_builder doc_builder
35 cd %EIFFEL_SRC\tools\doc_builder
36 clean_project
37 finalize docbuilder.mswin.ace
38 fff
39 cleanup_eiffel doc_builder.exe
40 iff not exist doc_builder.exe then
41 remtrace Couldnt generate doc_builder.exe
42 CANCEL
43 else
44 move doc_builder.exe %DOCUMENT_DIR
45 endiff
46
47
48 remtrace ---------------------------------------------------------------
49 remtrace Compile all required libraries and generate XML documentation |
50 remtrace ---------------------------------------------------------------
51
52 cdd %EIFFEL_SRC\tools\doc_builder\resources\xml
53 melt all_libs.ace
54 ec -flatshort -filter xml -all -project all_libs.epr
55
56 remtrace ------------------------------------------------------
57 remtrace Copy XML docs into appropriate written docs location |
58 remtrace ------------------------------------------------------
59
60 cdd %EIFFEL_SRC\tools\doc_builder\resources\xml\Documentation
61 fullrd *.html
62 fullrd *_links.xml
63 fullrd *_short.xml
64
65 remtrace Removing implementation clusters
66 cd vision2\implementation
67 fullrd mswin
68 sed -e "s/^.*mswin.*$//g" index.xml >> new_index.xml
69 move new_index.xml index.xml
70 gvim.exe -c "set ff=dos" -c "wq" index.xml
71
72 cd ..\contrib
73 fullrd implementation
74 sed -e "s/^.*implementation.*$//g" index.xml >> new_index.xml
75 move new_index.xml index.xml
76 gvim.exe -c "set ff=dos" -c "wq" index.xml
77
78 cd ..\..\preferences
79 fullrd registry_implementation
80 sed -e "s/^.*registry_implementation.*$//g" index.xml >> new_index.xml
81 move new_index.xml index.xml
82 gvim.exe -c "set ff=dos" -c "wq" index.xml
83
84 cdd %EIFFEL_SRC\tools\doc_builder\resources\xml\Documentation
85
86 move /s base %DOCUMENT_DIR\xmldoc\libraries\base\reference
87 move /s wel %DOCUMENT_DIR\xmldoc\libraries\wel\reference
88 move /s vision2 %DOCUMENT_DIR\xmldoc\libraries\vision2\reference
89 move /s com %DOCUMENT_DIR\xmldoc\libraries\com\reference
90 move /s eiffel2java %DOCUMENT_DIR\xmldoc\libraries\eiffel2java\reference
91 move /s lex %DOCUMENT_DIR\xmldoc\libraries\lex\reference
92 move /s parse %DOCUMENT_DIR\xmldoc\libraries\parse\reference
93 move /s net %DOCUMENT_DIR\xmldoc\libraries\net\reference
94 move /s thread %DOCUMENT_DIR\xmldoc\libraries\thread\reference
95 move /s time %DOCUMENT_DIR\xmldoc\libraries\time\reference
96 move /s web %DOCUMENT_DIR\xmldoc\libraries\web\reference
97 move /s store %DOCUMENT_DIR\xmldoc\libraries\store\reference
98 move /s preferences %DOCUMENT_DIR\xmldoc\libraries\preferences\reference
99
100
101 remtrace ----------------------------------------------------------------------------------------
102 remtrace Run the documentation tool to generate the documentation for EiffelStudio as .chm file |
103 remtrace ----------------------------------------------------------------------------------------
104
105 cdd %DOCUMENT_DIR
106 doc_builder.exe -gen /xml2help -o /studio -t /mshtml -nohtml %DOCUMENT_DIR\xmldoc\projects\documentation.dpr
107 cdd C:\doc\Html
108 fullrd docs.chm
109 hhc docs.hhp
110 copy C:\doc\Html\docs.chm %INSTALL_DIR\docs\eiffel.chm
111
112 rem cdd %DOCUMENT_DIR
113 rem doc_builder.exe -gen /xml2help -o /studio -t /mshtml %DOCUMENT_DIR\xmldoc\documentation.dpr
114 rem copy C:\doc\Html\docs.chm %INSTALL_DIR\docs\eiffel.chm
115
116

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.23