We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dac2b75 commit 506a630Copy full SHA for 506a630
Makefile
@@ -4,8 +4,12 @@ include $(LIBDIR)/main.mk
4
$(LIBDIR)/main.mk:
5
ifneq (,$(shell grep "path *= *$(LIBDIR)" .gitmodules 2>/dev/null))
6
git submodule sync
7
- git submodule update $(CLONE_ARGS) --init
+ git submodule update --init
8
else
9
- git clone -q --depth 10 $(CLONE_ARGS) \
10
- -b main https://github.com/martinthomson/i-d-template $(LIBDIR)
+ifneq (,$(wildcard $(ID_TEMPLATE_HOME)))
+ ln -s "$(ID_TEMPLATE_HOME)" $(LIBDIR)
11
+else
12
+ git clone -q --depth 10 -b main \
13
+ https://github.com/martinthomson/i-d-template $(LIBDIR)
14
+endif
15
endif
0 commit comments