… | |
… | |
72 | case "$file" in |
72 | case "$file" in |
73 | cfmapidx | *.pst | *.jpg | *.png | *.html | *.html.gz | *.xhtml | *.xhtml.gz | *.css | *~ ) |
73 | cfmapidx | *.pst | *.jpg | *.png | *.html | *.html.gz | *.xhtml | *.xhtml.gz | *.css | *~ ) |
74 | ;; |
74 | ;; |
75 | * ) |
75 | * ) |
76 | if head -5 "$file" | grep -q "^arch map"; then |
76 | if head -5 "$file" | grep -q "^arch map"; then |
77 | echo >&7 "<li><a href='$file.xhtml'>$file</a> [map]</li>" |
77 | echo >&7 "<li><a href='${file%.map}.xhtml'>${file%.map}</a> [map]</li>" |
78 | DIR="${dir#/}" |
78 | DIR="${dir#/}" |
79 | echo "$DIR$file" >>$BASE/.cfmap2html |
79 | echo "$DIR$file" >>$BASE/.cfmap2html |
80 | else |
80 | else |
81 | echo >&7 "<li><a href='$file'>$file</a> [file]</li>" |
81 | echo >&7 "<li><a href='$file'>$file</a> [file]</li>" |
82 | fi |
82 | fi |
… | |
… | |
118 | fi |
118 | fi |
119 | #gzip -7f index.xhtml |
119 | #gzip -7f index.xhtml |
120 | ) |
120 | ) |
121 | done |
121 | done |
122 | |
122 | |
123 | exit |
|
|
124 | |
|
|
125 | <.cfmap2html xargs cfmap2html |
123 | <.cfmap2html xargs $SRC/cfmap2html |
126 | <.cfmap2html xargs cfmapidx -a |
124 | <.cfmap2html xargs $SRC/cfmapidx -a |
127 | mv .index.dat~ .index.dat |
125 | mv .index.dat~ .index.dat |
128 | |
126 | |
129 | #rm -f .cfmap2html |
127 | #rm -f .cfmap2html |
130 | |
128 | |
131 | cfarch2html |
129 | $SRC/cfarch2html |
132 | cfworldmap world |
130 | $SRC/cfworldmap world |
133 | cfworldmap world-overlay |
131 | $SRC/cfworldmap world-overlay |
134 | |
132 | |
135 | chown -R root.root . |
133 | chown -R root.root . |
136 | chmod -R u=rwX,go=rX . |
134 | chmod -R u=rwX,go=rX . |
137 | |
135 | |