Makefile
raw| 1 | |
| 2 | # called on each darcs commit |
| 3 | commithook: site |
| 4 | |
| 5 | sitebuild site: hakyll index.html |
| 6 | ./hakyll build |
| 7 | |
| 8 | index.html: |
| 9 | ln -s README.html index.html |
| 10 | |
| 11 | siteclean: hakyll |
| 12 | ./hakyll clean |
| 13 | |
| 14 | sitepreview: hakyll |
| 15 | ./hakyll preview 8001 |
| 16 | |
| 17 | hakyll: hakyll.hs |
| 18 | ghc --make -Wall hakyll.hs |
| 19 | |
| 20 | # misc |
| 21 | tag: TAGS |
| 22 | |
| 23 | TAGS: *.el *.hs *.markdown Makefile |
| 24 | etags *.el *.hs *.markdown Makefile |
| 25 | |
| 26 | clean: |
| 27 | rm -f *.o *.hi |
| 28 | |
| 29 | Clean: clean |
| 30 | rm -rf _cache _site TAGS |
| 31 |