1 | #!/bin/sh
|
---|
2 |
|
---|
3 | gsdlhome=$GSDLHOME
|
---|
4 |
|
---|
5 | if [ "$gsdlhome" == "" ]; then
|
---|
6 | # assume tutorials in a subdir of gsdl
|
---|
7 | pushd .. > /dev/null
|
---|
8 | gsdlhome=`pwd`
|
---|
9 | popd > /dev/null
|
---|
10 | fi
|
---|
11 |
|
---|
12 | echo "procesing english version"
|
---|
13 | cd en
|
---|
14 | mkdir html
|
---|
15 |
|
---|
16 | echo "User's manual (english)"
|
---|
17 | java -cp $gsdlhome/gli:../ ApplyXSLT ../xml-to-index.xsl User_en.xml > html/User_en_index.html
|
---|
18 | java -cp $gsdlhome/gli:../ ApplyXSLT ../xml-to-one-html.xsl User_en.xml > html/User_en_all.html
|
---|
19 | java -cp $gsdlhome/gli:../ ApplyXSLT ../xml-to-many-html.xsl User_en.xml | perl -S $gsdlhome/gli/help/splithelpdocument.pl
|
---|
20 | mv *.htm html/
|
---|
21 |
|
---|
22 | echo "Installer's manual (english)"
|
---|
23 | java -cp $gsdlhome/gli:../ ApplyXSLT ../xml-to-index.xsl Install_en.xml > html/Install_en_index.html
|
---|
24 | java -cp $gsdlhome/gli:../ ApplyXSLT ../xml-to-one-html.xsl Install_en.xml > html/Install_en_all.html
|
---|
25 | java -cp $gsdlhome/gli:../ ApplyXSLT ../xml-to-many-html.xsl Install_en.xml | perl -S $gsdlhome/gli/help/splithelpdocument.pl
|
---|
26 | mv *.htm html/
|
---|
27 |
|
---|
28 | echo "Developer's manual (english)"
|
---|
29 | java -cp $gsdlhome/gli:../ ApplyXSLT ../xml-to-index.xsl Develop_en.xml > html/Develop_en_index.html
|
---|
30 | java -cp $gsdlhome/gli:../ ApplyXSLT ../xml-to-one-html.xsl Develop_en.xml > html/Develop_en_all.html
|
---|
31 | java -cp $gsdlhome/gli:../ ApplyXSLT ../xml-to-many-html.xsl Develop_en.xml | perl -S $gsdlhome/gli/help/splithelpdocument.pl
|
---|
32 | mv *.htm html/
|
---|
33 |
|
---|
34 | echo "From paper to collection (english)"
|
---|
35 | java -cp $gsdlhome/gli:../ ApplyXSLT ../xml-to-index.xsl Paper_en.xml > html/Paper_en_index.html
|
---|
36 | java -cp $gsdlhome/gli:../ ApplyXSLT ../xml-to-one-html.xsl Paper_en.xml > html/Paper_en_all.html
|
---|
37 | java -cp $gsdlhome/gli:../ ApplyXSLT ../xml-to-many-html.xsl Paper_en.xml | perl -S $gsdlhome/gli/help/splithelpdocument.pl
|
---|
38 | mv *.htm html/
|
---|
39 |
|
---|
40 | cd ..
|
---|
41 |
|
---|
42 |
|
---|
43 | echo "procesing french version"
|
---|
44 | cd fr
|
---|
45 | mkdir html
|
---|
46 | cp -r images/ html/images
|
---|
47 | cp ../style.css html/
|
---|
48 |
|
---|
49 | echo "User's manual (french)"
|
---|
50 | java -cp $gsdlhome/gli:../ ApplyXSLT ../xml-to-index.xsl User_fr.xml > html/User_fr_index.html
|
---|
51 | java -cp $gsdlhome/gli:../ ApplyXSLT ../xml-to-one-html.xsl User_fr.xml > html/User_fr_all.html
|
---|
52 | java -cp $gsdlhome/gli:../ ApplyXSLT ../xml-to-many-html.xsl User_fr.xml | perl -S $gsdlhome/gli/help/splithelpdocument.pl
|
---|
53 | mv *.htm html/
|
---|
54 |
|
---|
55 | echo "Installer's manual (french)"
|
---|
56 | java -cp $gsdlhome/gli:../ ApplyXSLT ../xml-to-index.xsl Install_fr.xml > html/Install_fr_index.html
|
---|
57 | java -cp $gsdlhome/gli:../ ApplyXSLT ../xml-to-one-html.xsl Install_fr.xml > html/Install_fr_all.html
|
---|
58 | java -cp $gsdlhome/gli:../ ApplyXSLT ../xml-to-many-html.xsl Install_fr.xml | perl -S $gsdlhome/gli/help/splithelpdocument.pl
|
---|
59 | mv *.htm html/
|
---|
60 |
|
---|
61 | echo "Developer's manual (french)"
|
---|
62 | java -cp $gsdlhome/gli:../ ApplyXSLT ../xml-to-index.xsl Develop_fr.xml > html/Develop_fr_index.html
|
---|
63 | java -cp $gsdlhome/gli:../ ApplyXSLT ../xml-to-one-html.xsl Develop_fr.xml > html/Develop_fr_all.html
|
---|
64 | java -cp $gsdlhome/gli:../ ApplyXSLT ../xml-to-many-html.xsl Develop_fr.xml | perl -S $gsdlhome/gli/help/splithelpdocument.pl
|
---|
65 | mv *.htm html/
|
---|
66 |
|
---|
67 | echo "From paper to collection (french)"
|
---|
68 | java -cp $gsdlhome/gli:../ ApplyXSLT ../xml-to-index.xsl Paper_fr.xml > html/Paper_fr_index.html
|
---|
69 | java -cp $gsdlhome/gli:../ ApplyXSLT ../xml-to-one-html.xsl Paper_fr.xml > html/Paper_fr_all.html
|
---|
70 | java -cp $gsdlhome/gli:../ ApplyXSLT ../xml-to-many-html.xsl Paper_fr.xml | perl -S $gsdlhome/gli/help/splithelpdocument.pl
|
---|
71 | mv *.htm html/
|
---|
72 |
|
---|
73 | cd ..
|
---|
74 |
|
---|
75 |
|
---|
76 | echo "procesing spanish version"
|
---|
77 | cd es
|
---|
78 | mkdir html
|
---|
79 | cp -r images/ html/images
|
---|
80 | cp ../style.css html/
|
---|
81 |
|
---|
82 | echo "User's manual (spanish)"
|
---|
83 | java -cp $gsdlhome/gli:../ ApplyXSLT ../xml-to-index.xsl User_es.xml > html/User_es_index.html
|
---|
84 | java -cp $gsdlhome/gli:../ ApplyXSLT ../xml-to-one-html.xsl User_es.xml > html/User_es_all.html
|
---|
85 | java -cp $gsdlhome/gli:../ ApplyXSLT ../xml-to-many-html.xsl User_es.xml | perl -S $gsdlhome/gli/help/splithelpdocument.pl
|
---|
86 | mv *.htm html/
|
---|
87 |
|
---|
88 | echo "Installer's manual (spanish)"
|
---|
89 | java -cp $gsdlhome/gli:../ ApplyXSLT ../xml-to-index.xsl Install_es.xml > html/Install_es_index.html
|
---|
90 | java -cp $gsdlhome/gli:../ ApplyXSLT ../xml-to-one-html.xsl Install_es.xml > html/Install_es_all.html
|
---|
91 | java -cp $gsdlhome/gli:../ ApplyXSLT ../xml-to-many-html.xsl Install_es.xml | perl -S $gsdlhome/gli/help/splithelpdocument.pl
|
---|
92 | mv *.htm html/
|
---|
93 |
|
---|
94 | echo "Developer's manual (spanish)"
|
---|
95 | java -cp $gsdlhome/gli:../ ApplyXSLT ../xml-to-index.xsl Develop_es.xml > html/Develop_es_index.html
|
---|
96 | java -cp $gsdlhome/gli:../ ApplyXSLT ../xml-to-one-html.xsl Develop_es.xml > html/Develop_es_all.html
|
---|
97 | java -cp $gsdlhome/gli:../ ApplyXSLT ../xml-to-many-html.xsl Develop_es.xml | perl -S $gsdlhome/gli/help/splithelpdocument.pl
|
---|
98 | mv *.htm html/
|
---|
99 |
|
---|
100 | echo "From paper to collection (spanish)"
|
---|
101 | java -cp $gsdlhome/gli:../ ApplyXSLT ../xml-to-index.xsl Paper_es.xml > html/Paper_es_index.html
|
---|
102 | java -cp $gsdlhome/gli:../ ApplyXSLT ../xml-to-one-html.xsl Paper_es.xml > html/Paper_es_all.html
|
---|
103 | java -cp $gsdlhome/gli:../ ApplyXSLT ../xml-to-many-html.xsl Paper_es.xml | perl -S $gsdlhome/gli/help/splithelpdocument.pl
|
---|
104 | mv *.htm html/
|
---|
105 |
|
---|
106 | cd ..
|
---|
107 |
|
---|
108 |
|
---|
109 | echo "procesing russian version"
|
---|
110 | cd ru
|
---|
111 | mkdir html
|
---|
112 | cp -r images/ html/images
|
---|
113 | cp ../style.css html/
|
---|
114 |
|
---|
115 | echo "User's manual (russian)"
|
---|
116 | java -cp $gsdlhome/gli:../ ApplyXSLT ../xml-to-index.xsl User_ru.xml > html/User_ru_index.html
|
---|
117 | java -cp $gsdlhome/gli:../ ApplyXSLT ../xml-to-one-html.xsl User_ru.xml > html/User_ru_all.html
|
---|
118 | java -cp $gsdlhome/gli:../ ApplyXSLT ../xml-to-many-html.xsl User_ru.xml | perl -S $gsdlhome/gli/help/splithelpdocument.pl
|
---|
119 | mv *.htm html/
|
---|
120 |
|
---|
121 | echo "Installer's manual (russian)"
|
---|
122 | java -cp $gsdlhome/gli:../ ApplyXSLT ../xml-to-index.xsl Install_ru.xml > html/Install_ru_index.html
|
---|
123 | java -cp $gsdlhome/gli:../ ApplyXSLT ../xml-to-one-html.xsl Install_ru.xml > html/Install_ru_all.html
|
---|
124 | java -cp $gsdlhome/gli:../ ApplyXSLT ../xml-to-many-html.xsl Install_ru.xml | perl -S $gsdlhome/gli/help/splithelpdocument.pl
|
---|
125 | mv *.htm html/
|
---|
126 |
|
---|
127 | echo "Developer's manual (russian)"
|
---|
128 | java -cp $gsdlhome/gli:../ ApplyXSLT ../xml-to-index.xsl Develop_ru.xml > html/Develop_ru_index.html
|
---|
129 | java -cp $gsdlhome/gli:../ ApplyXSLT ../xml-to-one-html.xsl Develop_ru.xml > html/Develop_ru_all.html
|
---|
130 | java -cp $gsdlhome/gli:../ ApplyXSLT ../xml-to-many-html.xsl Develop_ru.xml | perl -S $gsdlhome/gli/help/splithelpdocument.pl
|
---|
131 | mv *.htm html/
|
---|
132 |
|
---|
133 | echo "From paper to collection (russian)"
|
---|
134 | java -cp $gsdlhome/gli:../ ApplyXSLT ../xml-to-index.xsl Paper_ru.xml > html/Paper_ru_index.html
|
---|
135 | java -cp $gsdlhome/gli:../ ApplyXSLT ../xml-to-one-html.xsl Paper_ru.xml > html/Paper_ru_all.html
|
---|
136 | java -cp $gsdlhome/gli:../ ApplyXSLT ../xml-to-many-html.xsl Paper_ru.xml | perl -S $gsdlhome/gli/help/splithelpdocument.pl
|
---|
137 | mv *.htm html/
|
---|
138 |
|
---|
139 | cd ..
|
---|