diff options
author | Stephen Paul Weber <singpolyma@singpolyma.net> | 2012-04-27 10:54:16 -0500 |
---|---|---|
committer | Stephen Paul Weber <singpolyma@singpolyma.net> | 2012-04-27 10:54:16 -0500 |
commit | 5b1532529dd4850e5b94730c628f8285c30d1771 (patch) | |
tree | 5a2a5db5630ae1512966047ea18b0f1d3d579a9e /Makefile | |
parent | 016decabcc3644dfbe16eaba35ec69d6c2b8bad2 (diff) |
Hide internal stuff that is used by tests
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -19,10 +19,10 @@ debian: debian/control | |||
19 | test: tests/suite | 19 | test: tests/suite |
20 | tests/suite | 20 | tests/suite |
21 | 21 | ||
22 | tests/suite: tests/suite.hs Data/OpenPGP.hs | 22 | tests/suite: tests/suite.hs Data/OpenPGP.hs Data/OpenPGP/Internal.hs |
23 | ghc --make $(GHCFLAGS) -o $@ $^ | 23 | ghc --make $(GHCFLAGS) -o $@ $^ |
24 | 24 | ||
25 | report.html: Data/OpenPGP.hs tests/suite.hs | 25 | report.html: tests/suite.hs Data/OpenPGP.hs Data/OpenPGP/Internal.hs |
26 | -hlint $(HLINTFLAGS) --report $^ | 26 | -hlint $(HLINTFLAGS) --report $^ |
27 | 27 | ||
28 | doc: dist/doc/html/openpgp/index.html README | 28 | doc: dist/doc/html/openpgp/index.html README |
@@ -35,10 +35,10 @@ README: openpgp.cabal | |||
35 | 35 | ||
36 | # XXX: Is there a way to make this just pass through $(GHCFLAGS) | 36 | # XXX: Is there a way to make this just pass through $(GHCFLAGS) |
37 | ifdef CEREAL | 37 | ifdef CEREAL |
38 | dist/doc/html/openpgp/index.html: dist/setup-config Data/OpenPGP.hs | 38 | dist/doc/html/openpgp/index.html: dist/setup-config Data/OpenPGP.hs Data/OpenPGP/Internal.hs |
39 | cabal haddock --hyperlink-source --haddock-options="--optghc=-DCEREAL" | 39 | cabal haddock --hyperlink-source --haddock-options="--optghc=-DCEREAL" |
40 | else | 40 | else |
41 | dist/doc/html/openpgp/index.html: dist/setup-config Data/OpenPGP.hs | 41 | dist/doc/html/openpgp/index.html: dist/setup-config Data/OpenPGP.hs Data/OpenPGP/Internal.hs |
42 | cabal haddock --hyperlink-source | 42 | cabal haddock --hyperlink-source |
43 | endif | 43 | endif |
44 | 44 | ||
@@ -60,9 +60,9 @@ clean: | |||
60 | debian/control: openpgp.cabal | 60 | debian/control: openpgp.cabal |
61 | cabal-debian --update-debianization | 61 | cabal-debian --update-debianization |
62 | 62 | ||
63 | dist/build/libHSopenpgp-$(VERSION).a: openpgp.cabal dist/setup-config Data/OpenPGP.hs | 63 | dist/build/libHSopenpgp-$(VERSION).a: openpgp.cabal dist/setup-config Data/OpenPGP.hs Data/OpenPGP/Internal.hs |
64 | cabal build --ghc-options="$(GHCFLAGS)" | 64 | cabal build --ghc-options="$(GHCFLAGS)" |
65 | 65 | ||
66 | dist/openpgp-$(VERSION).tar.gz: openpgp.cabal dist/setup-config Data/OpenPGP.hs README | 66 | dist/openpgp-$(VERSION).tar.gz: openpgp.cabal dist/setup-config README Data/OpenPGP.hs Data/OpenPGP/Internal.hs |
67 | cabal check | 67 | cabal check |
68 | cabal sdist | 68 | cabal sdist |