Provide Prelude and Data.List with fixed content across GHC versions

root / Makefile

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
VERSIONS = 7.0.4 7.2.2 7.4.2 7.6.3 7.8.4 7.10.3 8.0.2 8.2.2 8.4.4 8.6.5 8.8.1

buildall:	$(patsubst %, build-%, $(VERSIONS))

build-%:
	runhaskell Setup configure --user --with-ghc=ghc-$* --with-haddock=haddock-ghc-$*
	runhaskell Setup build
	runhaskell Setup haddock


installall:	$(patsubst %, install-%, $(VERSIONS))

install-%:
	cabal install --with-ghc=ghc-$* --with-haddock=haddock-ghc-$*


type-catch:
	for version in $(VERSIONS); do ghc-$$version -e ':type Prelude2010.catch'; done