summaryrefslogtreecommitdiff
path: root/libraries/Makefile
diff options
context:
space:
mode:
authorMax Bolingbroke <batterseapower@hotmail.com>2008-08-06 21:02:07 +0000
committerMax Bolingbroke <batterseapower@hotmail.com>2008-08-06 21:02:07 +0000
commit99daef874ab8f0c3b1d1ec1888d6bb6d368a4b79 (patch)
tree396d0ccfd2dbdc1151c7cb96630459ccc28ba5be /libraries/Makefile
parentd1984e439154e95b2804ee83897e740b1713c53d (diff)
downloadhaskell-99daef874ab8f0c3b1d1ec1888d6bb6d368a4b79.tar.gz
Prepare GHC for building with Git
* New packages format lets you select source control system in use * Packages file now includes root repo explicitly * Scripts darcs-all and push-all updated for the new packages format only * New sync-all script, intended for use after Git changeover and for buildbots right now * Had to remove libraries/bootstrapping from tree since Git cannot track empty directories without a hack * Determine checkout date with Git using Darcs fallback in aclocal.m4
Diffstat (limited to 'libraries/Makefile')
-rw-r--r--libraries/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/Makefile b/libraries/Makefile
index 8e0e665e18..5c5d192ada 100644
--- a/libraries/Makefile
+++ b/libraries/Makefile
@@ -163,6 +163,7 @@ BOOTSTRAPPING_FLAGS = $(CABAL_GHC_FLAGS) -DCABAL_VERSION=$(CABAL_VERSION) -odir
boot: ifBuildable/ifBuildable cabal-bin bootstrapping.conf
cabal-bin: cabal-bin.hs
+ mkdir $(HERE_ABS)/bootstrapping
$(GHC) $(BOOTSTRAPPING_FLAGS) --make cabal-bin -o cabal-bin
bootstrapping.conf: cabal-bin
@@ -311,7 +312,7 @@ clean: $(foreach SUBDIR,$(SUBDIRS),clean.library.$(SUBDIR))
-cd filepath && $(CABAL) clean --distpref=dist-bootstrapping
-cd Cabal && $(CABAL) clean --distpref=dist-bootstrapping
-cd hpc && $(CABAL) clean --distpref=dist-bootstrapping
- $(RM) -rf bootstrapping/*
+ $(RM) -rfd bootstrapping
$(RM) -f bootstrapping.conf bootstrapping.conf.old
$(RM) -f bootstrapping.conf.tmp bootstrapping.conf.tmp.old
$(RM) -f cabal-bin cabal-bin.exe