LOGIN / SIGN UP

doc/tools/mkdocs.sh
 
29 @@ -29,14 +29,14 @@
29 LOGDIR="${CURDIR}/logs"
30
31 # Fedora 11
32 DBDIR="/usr/share/sgml/docbook/dsssl-stylesheets-1.79/"
33 DBX="${DBDIR}/dtds/decls/xml.dcl"
34 DBV="/usr/share/sgml/docbook/xml-dtd-4.3-1.0-46.fc11/docbookx.dtd"
35 # DBDIR="/usr/share/sgml/docbook/dsssl-stylesheets-1.79/"
36 # DBX="${DBDIR}/dtds/decls/xml.dcl"
37 # DBV="/usr/share/sgml/docbook/xml-dtd-4.3-1.0-46.fc11/docbookx.dtd"
38
39 # Ubuntu Hardy/Intrepid
40 # DBDIR="/usr/share/sgml/docbook/stylesheet/dsssl/modular"
41 # DBX="/usr/share/sgml/declaration/xml.dcl"
42 # DBV="FIXME"
43 DBDIR="/usr/share/sgml/docbook/stylesheet/dsssl/modular"
44 DBX="/usr/share/sgml/declaration/xml.dcl"
45 DBV="/usr/share/xml/docbook/schema/dtd/4.3/docbookx.dtd"
46
47 # NetBSD 5
48 # DBDIR="/usr/pkg/share/sgml/docbook/dsssl/modular"
...  
165 @@ -165,6 +165,15 @@
165 print_error "html generation failed! see html-singlefile logs!"
166 fi
167
168 cp -R ${CURDIR}/img ${NOCHDIR}
169 if test ${?} -ne 0; then
170 print_error "failed to copy images! see html-singlefile logs!"
171 fi
172 cp -R ${CURDIR}/css ${NOCHDIR}
173 if test ${?} -ne 0; then
174 print_error "failed to copy stylesheets! see html-singlefile logs!"
175 fi
176
177 if test -x "${TIDY}"; then
178 print_status "tidy - html-singlefile"
179 ${TIDY} -cibqm ${NOCHDIR}/${DOCSNAME}.html \
...  
203 @@ -194,6 +203,15 @@
203 print_error "html generation failed! see html-multifile logs!"
204 fi
205
206 cp -R ${CURDIR}/img ${HTMLDIR}
207 if test ${?} -ne 0; then
208 print_error "failed to copy images! see html-multifile logs!"
209 fi
210 cp -R ${CURDIR}/css ${HTMLDIR}
211 if test ${?} -ne 0; then
212 print_error "failed to copy stylesheets!! see html-multifile logs!"
213 fi
214
215 if test -x "${TIDY}"; then
216 print_status "tidy - html-multifile"
217 for i in $(find ${HTMLDIR} -name '*.html'); do
...