diff options
author | Stephen Paul Weber <singpolyma@singpolyma.net> | 2011-08-12 21:05:31 -0500 |
---|---|---|
committer | Stephen Paul Weber <singpolyma@singpolyma.net> | 2011-08-12 21:05:31 -0500 |
commit | 078d62b646f3fcecf7918d051472c5905e2957f5 (patch) | |
tree | 435423b561db5f9fc560da0781a2964042f334ac /Makefile | |
parent | 1cc474786194555bec47dd5c061c1bcc5d992952 (diff) |
keygen example
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -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 | ||
6 | all: sign verify report.html doc dist/build/libHSopenpgp-0.2.a dist/openpgp-0.2.tar.gz | 6 | all: sign verify keygen report.html doc dist/build/libHSopenpgp-0.2.a dist/openpgp-0.2.tar.gz |
7 | 7 | ||
8 | install: dist/build/libHSopenpgp-0.2.a | 8 | install: dist/build/libHSopenpgp-0.2.a |
9 | cabal install | 9 | cabal install |
10 | 10 | ||
11 | sign: examples/sign.hs | 11 | sign: examples/sign.hs Data/*.hs Data/OpenPGP/*.hs |
12 | ghc --make $(GHCFLAGS) -o $@ $^ | 12 | ghc --make $(GHCFLAGS) -o $@ $^ |
13 | 13 | ||
14 | verify: examples/verify.hs | 14 | verify: examples/verify.hs Data/*.hs Data/OpenPGP/*.hs |
15 | ghc --make $(GHCFLAGS) -o $@ $^ | 15 | ghc --make $(GHCFLAGS) -o $@ $^ |
16 | 16 | ||
17 | report.html: examples/* Data/* Data/OpenPGP/* | 17 | keygen: examples/keygen.hs Data/*.hs Data/OpenPGP/*.hs |
18 | ghc --make $(GHCFLAGS) -o $@ $^ | ||
19 | |||
20 | report.html: examples/*.hs Data/*.hs Data/OpenPGP/*.hs | ||
18 | hlint $(HLINTFLAGS) --report Data examples || true | 21 | hlint $(HLINTFLAGS) --report Data examples || true |
19 | 22 | ||
20 | doc: dist/doc/html/openpgp/index.html README | 23 | doc: dist/doc/html/openpgp/index.html README |