summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorStephen Paul Weber <singpolyma@singpolyma.net>2012-04-27 10:54:16 -0500
committerStephen Paul Weber <singpolyma@singpolyma.net>2012-04-27 10:54:16 -0500
commit5b1532529dd4850e5b94730c628f8285c30d1771 (patch)
tree5a2a5db5630ae1512966047ea18b0f1d3d579a9e /Makefile
parent016decabcc3644dfbe16eaba35ec69d6c2b8bad2 (diff)
Hide internal stuff that is used by tests
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 865498c..2d9b719 100644
--- a/Makefile
+++ b/Makefile
@@ -19,10 +19,10 @@ debian: debian/control
19test: tests/suite 19test: tests/suite
20 tests/suite 20 tests/suite
21 21
22tests/suite: tests/suite.hs Data/OpenPGP.hs 22tests/suite: tests/suite.hs Data/OpenPGP.hs Data/OpenPGP/Internal.hs
23 ghc --make $(GHCFLAGS) -o $@ $^ 23 ghc --make $(GHCFLAGS) -o $@ $^
24 24
25report.html: Data/OpenPGP.hs tests/suite.hs 25report.html: tests/suite.hs Data/OpenPGP.hs Data/OpenPGP/Internal.hs
26 -hlint $(HLINTFLAGS) --report $^ 26 -hlint $(HLINTFLAGS) --report $^
27 27
28doc: dist/doc/html/openpgp/index.html README 28doc: 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)
37ifdef CEREAL 37ifdef CEREAL
38dist/doc/html/openpgp/index.html: dist/setup-config Data/OpenPGP.hs 38dist/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"
40else 40else
41dist/doc/html/openpgp/index.html: dist/setup-config Data/OpenPGP.hs 41dist/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
43endif 43endif
44 44
@@ -60,9 +60,9 @@ clean:
60debian/control: openpgp.cabal 60debian/control: openpgp.cabal
61 cabal-debian --update-debianization 61 cabal-debian --update-debianization
62 62
63dist/build/libHSopenpgp-$(VERSION).a: openpgp.cabal dist/setup-config Data/OpenPGP.hs 63dist/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
66dist/openpgp-$(VERSION).tar.gz: openpgp.cabal dist/setup-config Data/OpenPGP.hs README 66dist/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