Setup.hs now builds RGL. the code is borrowed from Make.hs

This commit is contained in:
krasimir
2009-05-11 06:55:11 +00:00
parent 30ebf7fd59
commit f283944f5c
4 changed files with 279 additions and 558 deletions

View File

@@ -1,24 +1,23 @@
.PHONY: all gf install doc clean sdist lib
.PHONY: all build install doc clean sdist
all: gf lib
all: build
dist/setup-config:
runghc Setup.lhs configure
dist/setup-config: GF.cabal
chmod u+x next-lib/src/mkPresent
chmod u+x next-lib/src/mkMinimal
runghc Setup.hs configure
gf: dist/setup-config
runghc Setup.lhs build
build: dist/setup-config
runghc Setup.hs build
install:
runghc Setup.lhs install
runghc Setup.hs install
doc:
runghc Setup.lhs haddock
runghc Setup.hs haddock
clean:
runghc Setup.lhs clean
runghc Setup.hs clean
sdist:
runghc Setup.lhs sdist
lib:
$(MAKE) -C lib/resource clean all
runghc Setup.hs sdist