mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-27 04:13:11 +03:00
tools: hakyll.hs -> site.hs to keep it working on mac
This commit is contained in:
parent
c22e4e85d0
commit
48db255444
18
Makefile
18
Makefile
@ -498,20 +498,20 @@ docs: site codedocs
|
||||
# build the hledger.org website
|
||||
# Requires hakyll (cabal install hakyll)
|
||||
.PHONY: site
|
||||
site: site/hakyll
|
||||
cd site; ./hakyll build
|
||||
site: site/site
|
||||
cd site; ./site build
|
||||
|
||||
cleansite: site/hakyll
|
||||
cd site; ./hakyll clean
|
||||
cleansite: site/site
|
||||
cd site; ./site clean
|
||||
|
||||
previewsite: site/hakyll
|
||||
cd site; ./hakyll preview
|
||||
previewsite: site/site
|
||||
cd site; ./site preview
|
||||
|
||||
site/hakyll: site/hakyll.hs
|
||||
cd site; ghc --make hakyll.hs $(PREFERMACUSRLIBFLAGS)
|
||||
site/site: site/site.hs
|
||||
cd site; ghc --make site.hs $(PREFERMACUSRLIBFLAGS)
|
||||
|
||||
autosite:
|
||||
cd site; $(AUTOBUILD) hakyll.hs -o hakyll $(PREFERMACUSRLIBFLAGS) --run preview
|
||||
cd site; $(AUTOBUILD) site.hs -o site $(PREFERMACUSRLIBFLAGS) --run preview
|
||||
|
||||
viewsite: site
|
||||
$(VIEWHTML) site/_site/index.html
|
||||
|
Loading…
Reference in New Issue
Block a user