--- a/Makefile Sun Sep 14 23:07:17 2014 +0900
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
- ./rst2cheatsheet.py vim.rst > vim.html
- ./html2png.py "file://$(realpath vim.html)" vim.png
-python: python.html python.png
- ./rst2cheatsheet.py python.rst > python.html
- ./html2png.py "file://$(realpath python.html)" python.png
- rm {vim,python}.{html,png}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/make.sh Sun Sep 14 23:30:24 2014 +0900
+for domain in vim python ; do
+ ./rst2cheatsheet.py "$domain.rst" > "$domain.html"
+ ./html2png.py "file://$(realpath "$domain.html")" "$domain.png"