Commit a23ad773 authored by Caleb Maclennan's avatar Caleb Maclennan
Browse files

Start expecting separate meta data files for books

parent e97d2bb5
......@@ -6,17 +6,11 @@ all: $(THISBOOK)
$(THISBOOK): $(BOOKBASE)
$(BOOKBASE).md: $(LANGUAGE)/$(CCMBOOKCODE).md
cp $< $@
$(CCMTOOLKITDIR)/meta-json.tpl:
echo '$$meta-json$$' > $@
# CaSILE doesn't expect to have to generate this by defaulat
$(BOOKBASE)-manifest.yml: $(BOOKBASE).yml
$(BOOKBASE).yml: $(LANGUAGE)/$(CCMBOOKCODE).md $(CCMTOOLKITDIR)/meta-json.tpl
$(PANDOC) $(PANDOCARGS) \
--template $(CCMTOOLKITDIR)/meta-json.tpl \
$< |
yq -M -e -y '.' > $@
$(BOOKBASE).yml: $(LANGUAGE)/$(CCMBOOKCODE).yml
cp $< $@
$(BOOKBASE).md: $(LANGUAGE)/$(CCMBOOKCODE).md
cp $< $@
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