summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 99e8969221..38bb840674 100644
--- a/Makefile
+++ b/Makefile
@@ -114,7 +114,12 @@ out/Makefile: common.gypi deps/uv/uv.gyp deps/http_parser/http_parser.gyp \
$(PYTHON) tools/gyp_node.py -f make
config.gypi: configure
- $(error Missing or stale $@, please run ./$<)
+ @if [ -x config.status ]; then \
+ ./config.status; \
+ else \
+ echo Missing or stale $@, please run ./$<; \
+ exit 1; \
+ fi
.PHONY: install
install: all ## Installs node into $PREFIX (default=/usr/local).