Remove remaining bits of bindist "make in-place"
[ghc-hetmet.git] / distrib / Makefile
index ee1b962..06c1f29 100644 (file)
@@ -1,8 +1,9 @@
 
 include Makefile-vars
 
-.PHONY: in-place mk-version-symlinks install
+.PHONY: mk-version-symlinks install
 
+#.PHONY: in-place
 # This has bitrotted:
 #in-place ::
 #      @if test -x "./post-inplace-script" ; then \
@@ -15,7 +16,6 @@ include Makefile-vars
 
 install ::
        $(INSTALL_DIR) $(bindir)
-       (cd lib/$(platform); find . -type d -exec sh -c '$(INSTALL_DIR) $$0 $(libdir)/$$0' {} \; )
        (cd share; find . -type d -exec sh -c '$(INSTALL_DIR) $(datadir)/$$0' {} \; )
 
 install::
@@ -25,6 +25,7 @@ install::
        $(MAKE) -C rts       install DOING_BIN_DIST=YES
        $(MAKE) -C libraries install DOING_BIN_DIST=YES
        $(MAKE) -C compiler  install DOING_BIN_DIST=YES
+       $(INSTALL_DATA) $(INSTALL_OPTS) extra-gcc-opts $(libdir)
 
 install :: install-docs postinstall denounce