Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
37 lines (30 sloc) 941 Bytes
all: setup
@echo "Please use Cabal to build this package; not make."
./setup configure
./setup build
setup: Setup.hs
ghc --make -package Cabal -o setup Setup.hs
install: setup
./setup install
-runghc Setup.hs clean
-rm -rf html `find . -name "*.o"` `find . -name "*.hi" | grep -v debian` \
`find . -name "*~" | grep -v debian` *.a setup dist testsrc/runtests \
local-pkg doctmp
-rm -rf testtmp/* testtmp*
.PHONY: test
test: test-ghc test-hugs
@echo ""
@echo "All tests pass."
test-hugs: setup
@echo " ****** Running hugs tests"
./setup configure -f buildtests --hugs --extra-include-dirs=/usr/lib/hugs/include
./setup build
runhugs -98 +o -P$(PWD)/dist/scratch:$(PWD)/dist/scratch/programs/runtests: \
test-ghc: setup
@echo " ****** Building GHC tests"
./setup configure -f buildtests
./setup build
@echo " ****** Running GHC tests"
Jump to Line
Something went wrong with that request. Please try again.