]> git.lizzy.rs Git - rust.git/blobdiff - mk/install.mk
librustc: Don't try to perform the magical
[rust.git] / mk / install.mk
index ca9497444f08dd1d21e18bbc194bd2a2d9863392..206046faeb6ef34e52c9715e4c9ed2d42bd380ef 100644 (file)
@@ -14,15 +14,15 @@ else
 MAYBE_DISABLE_VERIFY=
 endif
 
-install: dist-install-dir-$(CFG_BUILD)
+install: dist-install-dir-$(CFG_BUILD)-with-target-libs
        $(Q)sh tmp/dist/$(PKG_NAME)-$(CFG_BUILD)/install.sh --prefix="$(DESTDIR)$(CFG_PREFIX)" --libdir="$(DESTDIR)$(CFG_LIBDIR)" --mandir="$(DESTDIR)$(CFG_MANDIR)" "$(MAYBE_DISABLE_VERIFY)"
 # Remove tmp files while we can because they may have been created under sudo
-       $(Q)rm -R tmp/dist/$(PKG_NAME)-$(CFG_BUILD)
+       $(Q)rm -R tmp/dist
 
-uninstall: dist-install-dir-$(CFG_BUILD)
+uninstall: dist-install-dir-$(CFG_BUILD)-with-target-libs
        $(Q)sh tmp/dist/$(PKG_NAME)-$(CFG_BUILD)/install.sh --uninstall --prefix="$(DESTDIR)$(CFG_PREFIX)" --libdir="$(DESTDIR)$(CFG_LIBDIR)" --mandir="$(DESTDIR)$(CFG_MANDIR)"
 # Remove tmp files while we can because they may have been created under sudo
-       $(Q)rm -R tmp/dist/$(PKG_NAME)-$(CFG_BUILD)
+       $(Q)rm -R tmp/dist
 
 
 ######################################################################