OSDN Git Service

384ba8ff21331fee711fa050e3938295e0fa0eb4
[hengband/web.git] / src / make.sh
1 #!/bin/bash
2
3 list="index web_update jlicense link download"
4
5 mkdir -p ../web
6 cp -r image *.txt hengband.css ../web
7
8 for v in $list; do
9         echo ${v}
10         asciidoctor --no-header-footer --out-file=tmp.txt \
11                 --backend=html5 -a linkcss -a stylesheet=hengband.css \
12                 ${v}.adoc 
13         cat template.html | sed '/<!--main contents-->/r tmp.txt' > ../web/${v}.html
14 done
15
16 rm tmp.txt
17