From 714a2c678c5a5d1fdb9d6de3d515279120305441 Mon Sep 17 00:00:00 2001 From: David Creswick Date: Wed, 31 Dec 2014 16:20:54 -0600 Subject: [PATCH] fix "make install" There seems to be a problem introduced by 8b3c67690c4747b9fadfef407e6261524fb03f8a that causes "make install" to fail when the build is not configured to skip doc building. --- mk/install.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mk/install.mk b/mk/install.mk index f36ca4db7ca..a8dfdffb59d 100644 --- a/mk/install.mk +++ b/mk/install.mk @@ -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)))