diff options
Diffstat (limited to 'testsuite/tests/ghc-regress/cabal/cabal01/Makefile')
-rw-r--r-- | testsuite/tests/ghc-regress/cabal/cabal01/Makefile | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/testsuite/tests/ghc-regress/cabal/cabal01/Makefile b/testsuite/tests/ghc-regress/cabal/cabal01/Makefile deleted file mode 100644 index 84c2f6195f..0000000000 --- a/testsuite/tests/ghc-regress/cabal/cabal01/Makefile +++ /dev/null @@ -1,41 +0,0 @@ -TOP=../../../.. -include $(TOP)/mk/boilerplate.mk -include $(TOP)/mk/test.mk - -clean: - rm -rf setup a.out dist/build/testA - rm -rf ,tmp dist ,tmp2 - find . -name "*.o" |xargs rm -f - find . -name "*.hi" |xargs rm -f - rm -fr install-tmp - rm -fr install - rm -f .setup-config .installed-pkg-config - rm -rf local.db - -# We use the global package database as there's no easy way to tell -# ghc-pkg (via Cabal) to use one in ., and the global one at least -# won't affect the installed GHC and is more likely to work - -PREFIX := $(abspath install) -$(eval $(call canonicalise,PREFIX)) - -cabal01: - $(MAKE) clean - '$(TEST_HC)' --make -o setup Setup.lhs -v0 - - '$(GHC_PKG)' init local.db - ./setup configure -v0 --prefix=$(PREFIX) --with-compiler='$(TEST_HC)' --ghc-options='$(TEST_HC_OPTS)' --with-hc-pkg='$(GHC_PKG)' --package-db=local.db $(PROF) - ./setup build -v0 - ./setup copy -v0 - echo install1: - ls -1 install - rm -r install -# install w/ register! - ./setup install -v0 - echo install2: - ls -1 install - ./setup sdist -v0 - echo dist: - ls -1 dist - if [ "$(CLEANUP)" != "" ]; then $(MAKE) clean; fi - |