Skip to content

Commit 3cf1992

Browse files
committed
rollup merge of #20380: dcrewi/fix-make-install
There seems to be a problem introduced by 8b3c676 that causes "make install" to fail when the build is not configured to skip doc building.
2 parents b9a26bf + 714a2c6 commit 3cf1992

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

mk/install.mk

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@ endif
2828
# Remove tmp files because it's a decent amount of disk space
2929
$(Q)rm -R tmp/dist
3030

31+
ifeq ($(CFG_DISABLE_DOCS),)
32+
prepare_install: dist/$(PKG_NAME)-$(CFG_BUILD).tar.gz dist/$(DOC_PKG_NAME)-$(CFG_BUILD).tar.gz | tmp/empty_dir
33+
else
3134
prepare_install: dist/$(PKG_NAME)-$(CFG_BUILD).tar.gz | tmp/empty_dir
35+
endif
3236

3337
uninstall:
3438
ifeq (root user, $(USER) $(patsubst %,user,$(SUDO_USER)))

0 commit comments

Comments
 (0)