# To enable remote tracking, set the following var to any non-empty string.
# Leaving this var empty will bind each git submodule to its saved commit.
-FUEL_TRACK_REMOTES ?= yes
+FUEL_TRACK_REMOTES ?=
.PHONY: all
all: release
@if [ -n "${FUEL_TRACK_REMOTES}" ]; then \
cd ${F_GIT_ROOT} && git submodule update --init --remote 2>/dev/null; \
else \
- git submodule update --init 2>/dev/null; \
+ cd ${F_GIT_ROOT} && git submodule update --init 2>/dev/null; \
fi
@touch $@
.PHONY: deepclean
deepclean: clean
- @git submodule deinit -f ${F_GIT_ROOT}
+ @cd ${F_GIT_ROOT} && git submodule deinit -f ${F_GIT_ROOT}
@rm -f .cache*
.PHONY: release