Skip to content

Commit

Permalink
Revert "Imported Upstream version 2.2.0.0"
Browse files Browse the repository at this point in the history
This reverts commit c29eb15.
  • Loading branch information
jgoerzen committed Feb 17, 2010
1 parent dc7ede7 commit 3c4ef31
Show file tree
Hide file tree
Showing 4 changed files with 649 additions and 0 deletions.
36 changes: 36 additions & 0 deletions Makefile
@@ -0,0 +1,36 @@
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

clean:
-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: \
dist/scratch/programs/runtests/Main.hs

test-ghc: setup
@echo " ****** Building GHC tests"
./setup configure -f buildtests
./setup build
@echo " ****** Running GHC tests"
./dist/build/runtests/runtests

0 comments on commit 3c4ef31

Please sign in to comment.