Unverified Commit 37f144d3 authored by Caleb Maclennan's avatar Caleb Maclennan
Browse files

Move extra debuging rules to per-mode makefiles

parent bdcaf977
......@@ -18,7 +18,6 @@ HIDPI = 300
LODPI = 150
TRANSLATIONS := $(wildcard [a-z][a-z])
LESSONFILTERS = manuscript studyguide
CCMBOOKCODE ?= $(subst book_,,$(filter book_%,$(PROJECT)))
CCMCOURSECODE ?= $(subst course_,,$(filter course_%,$(PROJECT)))
......@@ -44,8 +43,6 @@ debug_ccmtoolkit:
@echo CCMBOOKCODE: $(CCMBOOKCODE)
@echo CCMCOURSECODE: $(CCMCOURSECODE)
@echo CCMLANGUAGECODE: $(CCMLANGUAGECODE)
@echo LESSONFILTERS: $(LESSONFILTERS)
@echo LESSONS: $(TRANSLATIONS)
@echo TRANSLATIONS: $(TRANSLATIONS)
init: init_ccmtoolkit
......
# Describe IIIM/BTS CCM courses in a way we can iterate over in make
LESSONFILTERS = manuscript studyguide
LESSONS := $(subst $(_lesson)-,,$(basename $(notdir $(wildcard $(LANGUAGE)/$(_lesson)-[0-9]*.md))))
all: course
debug_ccmtoolkit: debug_ccmtoolkit_lesson
.PHONY: debug_ccmtoolkit_lesson
debug_ccmtoolkit_lesson:
@echo LESSONFILTERS: $(LESSONFILTERS)
@echo LESSONS: $(TRANSLATIONS)
FILTEREDLESSONS = $(call pattern_list,$(_lesson),$(LESSONS),$(call localize,$(LESSONFILTERS)),.md)
.PHONY: course
course: $(addsuffix .pdf,$(basename $(FILTEREDLESSONS)))
......
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