mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 02:33:55 +00:00
mk: Fix 'make install'. Closes #13128
This commit is contained in:
parent
1f5571abc2
commit
1f35f834be
@ -15,6 +15,8 @@
|
|||||||
# The stage we install from
|
# The stage we install from
|
||||||
ISTAGE = $(PREPARE_STAGE)
|
ISTAGE = $(PREPARE_STAGE)
|
||||||
|
|
||||||
|
$(eval $(call DEF_PREPARE,mkfile-install))
|
||||||
|
|
||||||
install: PREPARE_HOST=$(CFG_BUILD)
|
install: PREPARE_HOST=$(CFG_BUILD)
|
||||||
install: PREPARE_TARGETS=$(CFG_TARGET)
|
install: PREPARE_TARGETS=$(CFG_TARGET)
|
||||||
install: PREPARE_DIR_CMD=$(DEFAULT_PREPARE_DIR_CMD)
|
install: PREPARE_DIR_CMD=$(DEFAULT_PREPARE_DIR_CMD)
|
||||||
@ -28,7 +30,7 @@ install: PREPARE_SOURCE_MAN_DIR=$(S)/man
|
|||||||
install: PREPARE_DEST_BIN_DIR=$(DESTDIR)$(CFG_PREFIX)/bin
|
install: PREPARE_DEST_BIN_DIR=$(DESTDIR)$(CFG_PREFIX)/bin
|
||||||
install: PREPARE_DEST_LIB_DIR=$(DESTDIR)$(CFG_LIBDIR)
|
install: PREPARE_DEST_LIB_DIR=$(DESTDIR)$(CFG_LIBDIR)
|
||||||
install: PREPARE_DEST_MAN_DIR=$(DESTDIR)$(CFG_MANDIR)/man1
|
install: PREPARE_DEST_MAN_DIR=$(DESTDIR)$(CFG_MANDIR)/man1
|
||||||
install: prepare-everything
|
install: prepare-everything-mkfile-install
|
||||||
|
|
||||||
|
|
||||||
# Uninstall code
|
# Uninstall code
|
||||||
|
@ -156,7 +156,9 @@ prepare-base-$(1): PREPARE_SOURCE_MAN_DIR=$$(S)/man
|
|||||||
prepare-base-$(1): PREPARE_DEST_BIN_DIR=$$(PREPARE_DEST_DIR)/bin
|
prepare-base-$(1): PREPARE_DEST_BIN_DIR=$$(PREPARE_DEST_DIR)/bin
|
||||||
prepare-base-$(1): PREPARE_DEST_LIB_DIR=$$(PREPARE_DEST_DIR)/$$(CFG_LIBDIR_RELATIVE)
|
prepare-base-$(1): PREPARE_DEST_LIB_DIR=$$(PREPARE_DEST_DIR)/$$(CFG_LIBDIR_RELATIVE)
|
||||||
prepare-base-$(1): PREPARE_DEST_MAN_DIR=$$(PREPARE_DEST_DIR)/share/man/man1
|
prepare-base-$(1): PREPARE_DEST_MAN_DIR=$$(PREPARE_DEST_DIR)/share/man/man1
|
||||||
prepare-base-$(1): prepare-host-$(1) prepare-targets-$(1)
|
prepare-base-$(1): prepare-everything-$(1)
|
||||||
|
|
||||||
|
prepare-everything-$(1): prepare-host-$(1) prepare-targets-$(1)
|
||||||
|
|
||||||
prepare-host-$(1): prepare-host-tools-$(1)
|
prepare-host-$(1): prepare-host-tools-$(1)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user