OSDN Git Service

著作権表記を整理。 / Rearrange license documents.
[hengband/web.git] / src / make.sh
index a876b41..7edf169 100644 (file)
@@ -1,12 +1,17 @@
 #!/bin/bash
 
-list="index web_update"
+list="index web_update jlicense"
+
+mkdir -p ../web
+cp -r image *.txt hengband.css ../web
 
 for v in $list; do
        echo ${v}
        asciidoctor --no-header-footer --out-file=tmp.txt \
                --backend=html5 -a linkcss -a stylesheet=hengband.css \
                ${v}.adoc 
-       cat template.html | sed '/<!--main contents-->/r tmp.txt' > ${v}.html
+       cat template.html | sed '/<!--main contents-->/r tmp.txt' > ../web/${v}.html
 done
+
+rm tmp.txt
+