mirror of https://github.com/rust-lang/rust.git
rollup merge of #20380: dcrewi/fix-make-install
There seems to be a problem introduced by
8b3c67690c
that causes "make install"
to fail when the build is not configured to skip doc building.
This commit is contained in:
commit
3cf1992c99
|
@ -28,7 +28,11 @@ endif
|
|||
# Remove tmp files because it's a decent amount of disk space
|
||||
$(Q)rm -R tmp/dist
|
||||
|
||||
ifeq ($(CFG_DISABLE_DOCS),)
|
||||
prepare_install: dist/$(PKG_NAME)-$(CFG_BUILD).tar.gz dist/$(DOC_PKG_NAME)-$(CFG_BUILD).tar.gz | tmp/empty_dir
|
||||
else
|
||||
prepare_install: dist/$(PKG_NAME)-$(CFG_BUILD).tar.gz | tmp/empty_dir
|
||||
endif
|
||||
|
||||
uninstall:
|
||||
ifeq (root user, $(USER) $(patsubst %,user,$(SUDO_USER)))
|
||||
|
|
Loading…
Reference in New Issue