mirror of
https://github.com/offen/analyticstxt.git
synced 2024-12-23 05:30:21 +01:00
12 lines
312 B
Makefile
12 lines
312 B
Makefile
LIBDIR := lib
|
|
include $(LIBDIR)/main.mk
|
|
|
|
$(LIBDIR)/main.mk:
|
|
ifneq (,$(shell grep "path *= *$(LIBDIR)" .gitmodules 2>/dev/null))
|
|
git submodule sync
|
|
git submodule update $(CLONE_ARGS) --init
|
|
else
|
|
git clone -q --depth 10 $(CLONE_ARGS) \
|
|
-b main https://github.com/martinthomson/i-d-template $(LIBDIR)
|
|
endif
|