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
|
# 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
|
||||||
|
Loading…
Reference in New Issue
Block a user