Begin working on image replacemenent.
[dead/lwn-epub.git] / makefile
1 .PHONY : test publish_doc doc src_html hlint
2
3 lwn-epub: src/*.hs
4 runghc Setup.hs clean
5 runghc Setup.hs configure --user --flags=${FLAGS}
6 runghc Setup.hs build
7
8 clean:
9 runghc Setup.hs clean
10 rm -f dist/
11 rm -f *.prof
12 rm -rf .hpc
13
14
15 # Neither 'haddock' nor 'hscolour' seem to work properly.
16 doc: src_html
17 runghc Setup.hs hscolour --executables
18 runghc Setup.hs haddock --internal \
19 --executables \
20 --hyperlink-source
21
22 test:
23 runghc -i"src" test/TestSuite.hs