summaryrefslogtreecommitdiff
path: root/Makefile
blob: 1f3c7516edf61d4d823edd7ef0eb7a541ffc018c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
.PHONY: all build install doc clean sdist

all: build

dist/setup-config: GF.cabal
	chmod u+x next-lib/src/mkPresent
	chmod u+x next-lib/src/mkMinimal
	runghc Setup.hs configure

build: dist/setup-config
	runghc Setup.hs build

install:
	runghc Setup.hs install

doc:
	runghc Setup.hs haddock

clean:
	runghc Setup.hs clean

sdist:
	runghc Setup.hs sdist