summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorStephen Paul Weber <singpolyma@singpolyma.net>2011-08-12 21:05:31 -0500
committerStephen Paul Weber <singpolyma@singpolyma.net>2011-08-12 21:05:31 -0500
commit078d62b646f3fcecf7918d051472c5905e2957f5 (patch)
tree435423b561db5f9fc560da0781a2964042f334ac /Makefile
parent1cc474786194555bec47dd5c061c1bcc5d992952 (diff)
keygen example
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index b02c9f2..37d3f0b 100644
--- a/Makefile
+++ b/Makefile
@@ -3,18 +3,21 @@ HLINTFLAGS=-XHaskell98 -XNoCPP -i 'Use camelCase' -i 'Use String' -i 'Use head'
3 3
4.PHONY: all clean doc install 4.PHONY: all clean doc install
5 5
6all: sign verify report.html doc dist/build/libHSopenpgp-0.2.a dist/openpgp-0.2.tar.gz 6all: sign verify keygen report.html doc dist/build/libHSopenpgp-0.2.a dist/openpgp-0.2.tar.gz
7 7
8install: dist/build/libHSopenpgp-0.2.a 8install: dist/build/libHSopenpgp-0.2.a
9 cabal install 9 cabal install
10 10
11sign: examples/sign.hs 11sign: examples/sign.hs Data/*.hs Data/OpenPGP/*.hs
12 ghc --make $(GHCFLAGS) -o $@ $^ 12 ghc --make $(GHCFLAGS) -o $@ $^
13 13
14verify: examples/verify.hs 14verify: examples/verify.hs Data/*.hs Data/OpenPGP/*.hs
15 ghc --make $(GHCFLAGS) -o $@ $^ 15 ghc --make $(GHCFLAGS) -o $@ $^
16 16
17report.html: examples/* Data/* Data/OpenPGP/* 17keygen: examples/keygen.hs Data/*.hs Data/OpenPGP/*.hs
18 ghc --make $(GHCFLAGS) -o $@ $^
19
20report.html: examples/*.hs Data/*.hs Data/OpenPGP/*.hs
18 hlint $(HLINTFLAGS) --report Data examples || true 21 hlint $(HLINTFLAGS) --report Data examples || true
19 22
20doc: dist/doc/html/openpgp/index.html README 23doc: dist/doc/html/openpgp/index.html README