Minor refactoring to get rid of Type.splitNewTyConApp
[ghc-hetmet.git] / distrib / Makefile
index ee8fc28..ae0186e 100644 (file)
@@ -22,11 +22,12 @@ install ::
 
 install::
        $(MAKE) -C includes  install      DOING_BIN_DIST=YES
-       $(MAKE) -C driver    install      DOING_BIN_DIST=YES
        $(MAKE) -C utils     install      DOING_BIN_DIST=YES
        $(MAKE) -C rts       install      DOING_BIN_DIST=YES
        $(MAKE) -C libraries install      DOING_BIN_DIST=YES
        $(MAKE) -C compiler  install      DOING_BIN_DIST=YES
+       $(MAKE) -C ghc       install      DOING_BIN_DIST=YES
+       $(MAKE) -C driver    install      DOING_BIN_DIST=YES
        $(MAKE) -C gmp       install      DOING_BIN_DIST=YES
        $(MAKE) -C docs      install-docs DOING_BIN_DIST=YES
        $(MAKE) -C libraries/Cabal/doc install-docs DOING_BIN_DIST=YES
@@ -47,10 +48,8 @@ ifneq "$(GREPPED_PATH)" ""
        @echo To use, add $(bindir) to your PATH.
        @echo
 endif
-       @if test -f share/html/index.html; then \
+       @if test -f $(htmldir)/index.html; then \
           echo For documentation, see $(htmldir)/index.html ; \
-       elif test -d share/html ; then \
-          echo Docs can be found in $(htmldir). ; \
        else \
           echo "Warning: this binary distribution does NOT contain documentation!" ; \
        fi