error out on local builds when those where explicitly disabled

This commit is contained in:
Norbert Thiebaud 2010-12-20 05:38:49 -06:00
parent 508b7caddf
commit 674e799f60

View file

@ -28,6 +28,11 @@ endif
endif
ifneq ($(gb_LOCALBUILDDIR),)
ifneq ($(gb_DISABLELOCALBUILD),)
$(error This is requesting a local build. This scenario has been disable because the environment is not correctly setup for it.)
endif
.PHONY : setuplocal
setuplocal :
mkdir -p $(OUTDIR) $(WORKDIR)