X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=libraries%2FMakefile;h=d2e2b06ee64e2d121237a15e7e90e380b03f16bf;hb=1f86a2618408913b267c767be5080175ce48d5de;hp=a90d52cfd87cb8336ad0cdc7ab8300ef9f5f05c0;hpb=cafb1e0f6bb93fb720e3bb3432c777cd9736bf80;p=ghc-hetmet.git diff --git a/libraries/Makefile b/libraries/Makefile index a90d52c..d2e2b06 100644 --- a/libraries/Makefile +++ b/libraries/Makefile @@ -88,6 +88,8 @@ space=$(empty) $(empty) # ----------------------------------------------------------------------------- +libraryhtmldir = $(htmldir)/libraries + ifneq "$(DOING_BIN_DIST)" "YES" CONFIGURE_OPTS = @@ -195,13 +197,10 @@ configure: $(foreach SUBDIR,$(SUBDIRS), \ # the executable with the shell script on non-Windows. This should # probably be tidied up so that we can always pass the same libsubdir. ifeq "$(Windows)" "YES" -datadir = $$prefix libsubdir = $$pkgid else -datadir = $$prefix/share/ghc libsubdir = $$compiler/lib/$$pkgid endif -libraryhtmldir = $(htmldir)/libraries # We rely on all the CONFIGURE_ARGS being quoted with '...', and there # being no 's inside the values. @@ -322,7 +321,7 @@ $(foreach SUBDIR,$(SUBDIRS),install.library.$(SUBDIR)): \ install.library.%: installPackage/installPackage ifBuildable/ifBuildable if ifBuildable/ifBuildable $*; then \ cd $* && \ - ../installPackage/installPackage "$(DESTDIR)" $(prefix) $(GHC_PKG_PROG) $(DESTDIR)$(libdir)/package.conf; \ + ../installPackage/installPackage "$(DESTDIR)" "$(prefix)" "$(datadir)" "$(libraryhtmldir)" "$(GHC_PKG_PROG)" "$(DESTDIR)$(libdir)/package.conf" ; \ fi .PHONY: binary-dist binary-dist.library.%