From 5b1532529dd4850e5b94730c628f8285c30d1771 Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Fri, 27 Apr 2012 10:54:16 -0500 Subject: Hide internal stuff that is used by tests --- Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 865498c..2d9b719 100644 --- a/Makefile +++ b/Makefile @@ -19,10 +19,10 @@ debian: debian/control test: tests/suite tests/suite -tests/suite: tests/suite.hs Data/OpenPGP.hs +tests/suite: tests/suite.hs Data/OpenPGP.hs Data/OpenPGP/Internal.hs ghc --make $(GHCFLAGS) -o $@ $^ -report.html: Data/OpenPGP.hs tests/suite.hs +report.html: tests/suite.hs Data/OpenPGP.hs Data/OpenPGP/Internal.hs -hlint $(HLINTFLAGS) --report $^ doc: dist/doc/html/openpgp/index.html README @@ -35,10 +35,10 @@ README: openpgp.cabal # XXX: Is there a way to make this just pass through $(GHCFLAGS) ifdef CEREAL -dist/doc/html/openpgp/index.html: dist/setup-config Data/OpenPGP.hs +dist/doc/html/openpgp/index.html: dist/setup-config Data/OpenPGP.hs Data/OpenPGP/Internal.hs cabal haddock --hyperlink-source --haddock-options="--optghc=-DCEREAL" else -dist/doc/html/openpgp/index.html: dist/setup-config Data/OpenPGP.hs +dist/doc/html/openpgp/index.html: dist/setup-config Data/OpenPGP.hs Data/OpenPGP/Internal.hs cabal haddock --hyperlink-source endif @@ -60,9 +60,9 @@ clean: debian/control: openpgp.cabal cabal-debian --update-debianization -dist/build/libHSopenpgp-$(VERSION).a: openpgp.cabal dist/setup-config Data/OpenPGP.hs +dist/build/libHSopenpgp-$(VERSION).a: openpgp.cabal dist/setup-config Data/OpenPGP.hs Data/OpenPGP/Internal.hs cabal build --ghc-options="$(GHCFLAGS)" -dist/openpgp-$(VERSION).tar.gz: openpgp.cabal dist/setup-config Data/OpenPGP.hs README +dist/openpgp-$(VERSION).tar.gz: openpgp.cabal dist/setup-config README Data/OpenPGP.hs Data/OpenPGP/Internal.hs cabal check cabal sdist -- cgit v1.2.3