]> code.delx.au - offlineimap/blob - Makefile
Small doc grammar fix. fixes #74.
[offlineimap] / Makefile
1 # Copyright (c) 2004-2008 John Goerzen
2 #
3
4 all: setup # GHC build
5 ./setup configure
6 ./setup build
7
8 .PHONY: all
9
10 doc: lib/dfs.html/index.html lib/dfs.pdf lib/dfs.ps lib/dfs.txt
11
12 hugsbuild: setup
13 ./setup configure --hugs
14 ./setup build
15
16 setup: Setup.lhs OfflineIMAP.cabal
17 ghc -package Cabal Setup.lhs -o setup
18
19 clean: clean-code clean-doc
20
21 test: all
22 dist/build/runtests/runtests
23
24 clean-code:
25 -./setup clean
26 -cd libsrc && ../setup clean
27 -rm -rf dist libsrc/dist *.ho *.hi *.o *.a setup *~
28 -rm -f `find . -name "*~"` `find . -name "*.o"`
29 -rm -f `find . -name "*.cm*"`
30
31 clean-doc:
32 -cd doc && scons -c && scons -c html pdf text ps
33 -rm -rf doc/.sconsign* .depend test
34 -rm -f doc/manpage* doc/*.1