summaryrefslogtreecommitdiff
path: root/Makefile
blob: 851c3cf00d03f362c9824b6557e7549616b89fce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
INDIR=/home/miguel/git/idziorek_net
OUTDIR=/tmp/idziorek_net

run: build clean
	stack run staticus-exe -- ${INDIR} ${OUTDIR}
build:
	stack build
clean:
	-rm ${OUTDIR}/* -r
showdoc:
	stack haddock
#	firefox /home/miguel/git/staticus_www/staticus/.stack-work/install/x86_64-linux/lts-13.0/8.6.3/doc/index.html

#hack to get css, copy this to a stanalone css file. file.md needs to have some source-code for pandoc
#stack exec pandoc -- -s file.md --highlight-style pygments