1 all: index.html index.html.gz
4 cp index.html index.html.gz favicon.ico appfog/hexbog.jasonwoof.com/
6 wordlist_compressed.js: compress.coffee wordlist.txt
10 coffee -bc -o .coffee-tmp main.coffee && mv .coffee-tmp/main.js index.js
12 index_min.js: wordlist_compressed.js index.js
13 cat /usr/share/javascript/jquery/jquery.min.js index.js | uglifyjs -nc -o $@
15 wordlist_min.js: wordlist_compressed.js index.js
16 cat wordlist_compressed.js | uglifyjs -nc -o $@
19 lessc style.less index.css
21 index.html: index_min.js wordlist_min.js template.html index.css
22 bash combine.bash template.html > $@ || (rm -f $@; exit 1)
24 index.html.gz: index.html
25 gzip --best -c $< > $@
29 rm -f index.js index_min.js wordlist_compressed.js wordlist_min.js index.css index.html index.html.gz