diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2013-08-10 13:00:51 +0200 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2013-08-10 13:13:46 +0200 |
commit | c75251ced210a3d82b6222388dee08704edd658e (patch) | |
tree | 13054e2afc2104d65815612ed2985d96fecac138 /Makefile | |
parent | 3f5d5847e2f4f7e6d6f6557badda63b4cbf83e45 (diff) | |
download | android-node-v8-c75251ced210a3d82b6222388dee08704edd658e.tar.gz android-node-v8-c75251ced210a3d82b6222388dee08704edd658e.tar.bz2 android-node-v8-c75251ced210a3d82b6222388dee08704edd658e.zip |
build: don't auto-destroy existing configuration
Don't run configure when the configure script has been touched. Doing so
would be okay if the Makefile passed the original arguments to configure
but it doesn't - it runs configure without any arguments, effectively
destroying the current configuration.
Remove this misfeature and instead print an error message telling the
user to (re-)run configure.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -53,7 +53,11 @@ else endif config.gypi: configure - $(PYTHON) ./configure + if [ -f $@ ]; then + $(error Stale $@, please re-run ./configure) + else + $(error No $@, please run ./configure first) + fi install: all $(PYTHON) tools/install.py $@ '$(DESTDIR)' '$(PREFIX)' |