X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=Makefile;h=445b008d87f2d220b99aa93e27323ef6573a301e;hb=16dc208aaad7aadaea970e47b8055d7d7f8781e5;hp=c935520db7881ad4cf6e2565857c817c9e1e0dc5;hpb=ed5cbfcb0a4c62e755bd23ec70475deda5899634;p=ghc-hetmet.git diff --git a/Makefile b/Makefile index c935520..445b008 100644 --- a/Makefile +++ b/Makefile @@ -163,7 +163,6 @@ endif # Same as default rule, but we pass $(INSTALL_STAGE) to $(MAKE) too install :: check-packages - $(INSTALL_DIR) $(bindir) @case '${MFLAGS}' in *-[ik]*) x_on_err=0;; *-r*[ik]*) x_on_err=0;; *) x_on_err=1;; esac; \ for i in $(SUBDIRS); do \ echo "------------------------------------------------------------------------"; \ @@ -207,8 +206,8 @@ endif # Install gcc-extra-opts install :: - @$(INSTALL_DIR) $(libdir) - $(INSTALL_DATA) $(INSTALL_OPTS) extra-gcc-opts $(libdir) + $(INSTALL_DIR) $(DESTDIR)$(libdir) + $(INSTALL_DATA) $(INSTALL_OPTS) extra-gcc-opts $(DESTDIR)$(libdir) install-docs :: @case '${MFLAGS}' in *-[ik]*) x_on_err=0;; *-r*[ik]*) x_on_err=0;; *) x_on_err=1;; esac; \