X-Git-Url: https://jasonwoof.com/gitweb/?p=hexbog.git;a=blobdiff_plain;f=Makefile;h=929563b256d7fb53dc70d4a02924f82fdd88cf9b;hp=962d6ffb018953fa8b42d27a0d86b5d9d0f67a6b;hb=cfd688cbffbd5fbe33a817671d44f5b98500d60f;hpb=97198e4668d0a8f64c5f5f345bd8f53af4c204d2 diff --git a/Makefile b/Makefile index 962d6ff..929563b 100644 --- a/Makefile +++ b/Makefile @@ -6,19 +6,19 @@ install: all wordlist_compressed.js: compress.coffee wordlist.txt coffee compress.coffee -main.js: main.coffee - coffee -bc main.coffee +index.js: main.coffee + coffee -bc -o .coffee-tmp main.coffee && mv .coffee-tmp/main.js index.js -main_min.js: wordlist_compressed.js main.js - cat /usr/share/javascript/jquery/jquery.min.js main.js | uglifyjs -nc -o $@ +index_min.js: wordlist_compressed.js index.js + cat /usr/share/javascript/jquery/jquery.min.js index.js | uglifyjs -nc -o $@ -wordlist_min.js: wordlist_compressed.js main.js +wordlist_min.js: wordlist_compressed.js index.js cat wordlist_compressed.js | uglifyjs -nc -o $@ -style.css: style.less - lessc style.less style.css +index.css: style.less + lessc style.less index.css -index.html: main_min.js wordlist_min.js template.html style.css +index.html: index_min.js wordlist_min.js template.html index.css bash combine.bash template.html > $@ || (rm -f $@; exit 1) index.html.gz: index.html @@ -26,4 +26,4 @@ index.html.gz: index.html clean: - rm -f main.js main_min.js wordlist_compressed.js wordlist_min.js style.css index.html index.html.gz + rm -f index.js index_min.js wordlist_compressed.js wordlist_min.js index.css index.html index.html.gz