diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2015-02-06 12:04:49 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2015-02-06 12:04:49 +0100 |
commit | 6eb51bea4d8519515ef2e913b5bf0c867216ad05 (patch) | |
tree | 856f5061c9fcc7dc804cbf418af319a50991cc18 | |
parent | 50461b18121759b4f8292039074a8f021bd51f92 (diff) | |
download | qtlocation-mapboxgl-6eb51bea4d8519515ef2e913b5bf0c867216ad05.tar.gz |
initialize the submodule on build
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -28,6 +28,10 @@ global: build build: build/Makefile @node-gyp build $(DEBUG_FLAG) -- -j$(JOBS) +.PHONY: vendor/mbgl +vendor/mbgl: + git submodule update --init + .PHONY: build/Makefile build/Makefile: $(MBGL)/config/$(HOST).gypi @node-gyp configure -- \ @@ -38,7 +42,7 @@ build/Makefile: $(MBGL)/config/$(HOST).gypi -Duv_static_libs= -Duv_ldflags= \ -Goutput_dir=. -$(MBGL)/config/%.gypi: $(MBGL)/configure +$(MBGL)/config/%.gypi: $(MBGL) $(MBGL)/configure make -C $(MBGL) config/$*.gypi .PHONY: test |