tools: hakyll.hs -> site.hs to keep it working on mac

This commit is contained in:
Simon Michael 2011-09-22 22:24:02 +00:00
parent c22e4e85d0
commit 48db255444
2 changed files with 9 additions and 9 deletions

View File

@ -498,20 +498,20 @@ docs: site codedocs
# build the hledger.org website # build the hledger.org website
# Requires hakyll (cabal install hakyll) # Requires hakyll (cabal install hakyll)
.PHONY: site .PHONY: site
site: site/hakyll site: site/site
cd site; ./hakyll build cd site; ./site build
cleansite: site/hakyll cleansite: site/site
cd site; ./hakyll clean cd site; ./site clean
previewsite: site/hakyll previewsite: site/site
cd site; ./hakyll preview cd site; ./site preview
site/hakyll: site/hakyll.hs site/site: site/site.hs
cd site; ghc --make hakyll.hs $(PREFERMACUSRLIBFLAGS) cd site; ghc --make site.hs $(PREFERMACUSRLIBFLAGS)
autosite: autosite:
cd site; $(AUTOBUILD) hakyll.hs -o hakyll $(PREFERMACUSRLIBFLAGS) --run preview cd site; $(AUTOBUILD) site.hs -o site $(PREFERMACUSRLIBFLAGS) --run preview
viewsite: site viewsite: site
$(VIEWHTML) site/_site/index.html $(VIEWHTML) site/_site/index.html