refactor: Rename makefiles similar to CaSILE refactoring

parent a8c84579
......@@ -32,7 +32,7 @@ IMPORT ?= false
urlinfo := https://ccm.izmirprotestan.org/
-include $(CCMTOOLKITDIR)/makefile-$(LANGUAGE) $(CCMTOOLKITDIR)/makefile-$(LANGUAGE)-reversed
-include $(CCMTOOLKITDIR)/lang-$(LANGUAGE).mk $(CCMTOOLKITDIR)/lang-$(LANGUAGE)-reversed.mk
# CI runners need help getting the branch name because of funky checkouts
BRANCH := $(shell git rev-parse --abbrev-ref HEAD)
......@@ -123,28 +123,28 @@ reports/%.pdf: reports/%.md
reports/worklog.md: repository-worklog.md
cp $< $@
# Mostly this makefile will be used for exporting content to consumer formats,
# but for the English version importing from the legacy formats and munging
# the content around into a canonical format is the battle
# Mostly these makefile rules will be used for exporting content to consumer
# formats, but for the English version importing from the legacy formats and
# munging the content around into a canonical format is the battle
ifeq ($(IMPORT),true)
POSTCASILEINCLUDE += $(CCMTOOLKITDIR)/makefile-importmode
POSTCASILEINCLUDE += $(CCMTOOLKITDIR)/rules-importmode.mk
else # Begin export mode rules
# If this toolkit is used on a book repository...
ifneq ($(strip $(CCMBOOKCODE)),)
BOOKBASE = $(_book)_$(CCMBOOKCODE)
SOURCES += $(BOOKBASE)
POSTCASILEINCLUDE += $(CCMTOOLKITDIR)/makefile-book
POSTCASILEINCLUDE += $(CCMTOOLKITDIR)/rules-book.mk
endif
# If this toolkit is used on a course repository...
ifneq ($(strip $(CCMCOURSECODE)),)
POSTCASILEINCLUDE += $(CCMTOOLKITDIR)/makefile-course
POSTCASILEINCLUDE += $(CCMTOOLKITDIR)/rules-course.mk
endif
# If this toolkit is used on a language meta repository...
ifneq ($(strip $(CCMLANGUAGECODE)),)
POSTCASILEINCLUDE += $(CCMTOOLKITDIR)/makefile-language
POSTCASILEINCLUDE += $(CCMTOOLKITDIR)/rules-language.mk
endif
.ccm.lua:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment