new version

This commit is contained in:
Pavol Rusnak 2013-06-03 17:34:52 +02:00
parent f891540e66
commit 5fb07fd6b5
21 changed files with 146 additions and 73 deletions

14
Makefile Normal file
View file

@ -0,0 +1,14 @@
HAML=haml
all: index.html doprava.html
refresh:
curl 'http://vvv.chmi.cz/hydro/detail_stanice/307225.html' | sed -n '153,302 p' > data/table.html
wget 'http://vvv.chmi.cz/hydro/graph/big/307225_H.png' -O data/stav.png
wget 'http://vvv.chmi.cz/hydro/graph/big/307225_Q.png' -O data/prutok.png
%.html: %.haml
$(HAML) $< $@
clean:
rm -f *.html