mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
make: ensure base/Makefile.defs can be included
Automatically run `fetchthirdparty`.
This commit is contained in:
committed by
Frans de Jonge
parent
3f8f87d294
commit
5efba26d80
6
Makefile
6
Makefile
@@ -1,9 +1,7 @@
|
||||
# koreader-base directory
|
||||
KOR_BASE?=base
|
||||
|
||||
# the repository might not have been checked out yet, so make this
|
||||
# able to fail:
|
||||
-include $(KOR_BASE)/Makefile.defs
|
||||
include $(KOR_BASE)/Makefile.defs
|
||||
|
||||
# We want VERSION to carry the version of the KOReader main repo, not that of koreader-base
|
||||
VERSION:=$(shell git describe HEAD)
|
||||
@@ -157,7 +155,7 @@ coverage: $(INSTALL_DIR)/koreader/.luacov
|
||||
+$$(($$(grep -nm1 -e "^Summary$$" luacov.report.out|cut -d: -f1)-1)) \
|
||||
luacov.report.out
|
||||
|
||||
fetchthirdparty:
|
||||
$(KOR_BASE)/Makefile.defs fetchthirdparty:
|
||||
git submodule init
|
||||
git submodule sync
|
||||
ifneq (,$(CI))
|
||||
|
||||
Reference in New Issue
Block a user