Skip to content

Commit 714a2c6

Browse files
committed
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.
1 parent 84f5ad8 commit 714a2c6

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)