mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
make: avoid duplicate fetchthirdparty
When using `make fetchthirdparty` and base has not been checkout yet: - make want to include `Makefile.defs` which is missing - the rule for `Makefile.defs` / `fetchthirdparty` are executed - make reload the main makefile, and execute `fetchthirdparty`
This commit is contained in:
committed by
Frans de Jonge
parent
040e033edb
commit
d9e4376e35
6
Makefile
6
Makefile
@@ -131,7 +131,11 @@ coverage: $(INSTALL_DIR)/koreader/.luacov
|
||||
+$$(($$(grep -nm1 -e "^Summary$$" luacov.report.out|cut -d: -f1)-1)) \
|
||||
luacov.report.out
|
||||
|
||||
$(KOR_BASE)/Makefile.defs fetchthirdparty:
|
||||
ifeq (,$(wildcard $(KOR_BASE)/Makefile.defs))
|
||||
$(KOR_BASE)/Makefile.defs: fetchthirdparty
|
||||
endif
|
||||
|
||||
fetchthirdparty:
|
||||
git submodule init
|
||||
git submodule sync
|
||||
ifneq (,$(CI))
|
||||
|
||||
Reference in New Issue
Block a user