diff options
author | Ian Lynagh <igloo@earth.li> | 2008-07-18 22:36:56 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2008-07-18 22:36:56 +0000 |
commit | f893fb935d23418b80534b05f35fe50d54af0acc (patch) | |
tree | a7fac55529584608a3df3938ebf77114d5650159 /ghc/Makefile | |
parent | aa4a905d69a7325fc22f917a41a82f9e19146fcd (diff) | |
download | haskell-f893fb935d23418b80534b05f35fe50d54af0acc.tar.gz |
Some "install" and "clean" fixes
Diffstat (limited to 'ghc/Makefile')
-rw-r--r-- | ghc/Makefile | 34 |
1 files changed, 18 insertions, 16 deletions
diff --git a/ghc/Makefile b/ghc/Makefile index 43e40a4eb6..4ee970cd65 100644 --- a/ghc/Makefile +++ b/ghc/Makefile @@ -65,33 +65,35 @@ CONFIGURE_FLAGS_STAGE3 += $(USE_STAGE2_CONFIGURE_FLAGS) # no library to register boot.stage.%: - $(CABAL) configure --distpref dist-stage$* \ + $(CABAL) configure --distpref dist-stage$* \ $(INSTALL_DIRS_CONFIGURE_FLAGS) \ - $(CONFIGURE_FLAGS_STAGE$*) \ - $(COMMON_CONFIGURE_FLAGS) \ - --datasubdir=. \ + $(CONFIGURE_FLAGS_STAGE$*) \ + $(COMMON_CONFIGURE_FLAGS) \ + --libsubdir=. \ + --datadir='$$libdir' \ + --datasubdir=. build.stage.%: $(CABAL) build --distpref dist-stage$* $(BUILD_FLAGS) $(INSTALL_PACKAGE) install '$(GHC_PKG_PROG)' 'XXX/package.conf' "" \ - $(FPTOOLS_TOP_ABS)/ghc/stage$*-inplace \ - $(FPTOOLS_TOP_ABS)/ghc/stage$*-inplace \ - '$$prefix/bin' \ - '$$prefix/lib' \ - '$$prefix/libexec' \ - '$$prefix/dynlib' \ - '$(INPLACE_DATA_DIR)' \ - '$$prefix/doc' \ - '$$prefix/html' \ - '$$prefix/haddock' \ - --distpref dist-stage$* \ + $(FPTOOLS_TOP_ABS)/ghc/stage$*-inplace \ + $(FPTOOLS_TOP_ABS)/ghc/stage$*-inplace \ + '$$prefix/bin' \ + '$(INPLACE_DATA_DIR)' \ + '$$prefix/libexec' \ + '$$prefix/dynlib' \ + '$(INPLACE_DATA_DIR)' \ + '$$prefix/doc' \ + '$$prefix/html' \ + '$$prefix/haddock' \ + --distpref dist-stage$* \ $(INSTALL_FLAGS) # XXX For now we always install the stage 2 compiler install: $(INSTALL_PACKAGE) install UNUSED UNUSED '$(DESTDIR)' '$(prefix)' \ '$(prefix)' '$(bindir)' '$(libdir)' \ - '$(libexecdir)' '$(dynlibdir)' '$(datadir)' \ + '$(libexecdir)' '$(dynlibdir)' '$(libdir)' \ '$(docdir)' '$(htmldir)' '$(haddockdir)' \ --distpref dist-stage2 \ $(INSTALL_FLAGS) |