Unverified Commit 8b46874f authored by Caleb Maclennan's avatar Caleb Maclennan
Browse files

Fix report dependencies

parent 67b6f587
......@@ -73,7 +73,7 @@ $(CCMTOOLKITDIR)/language-%.yml:
.PHONY: stats
stats: reports/status.pdf reports/worklog.pdf
reports/status.md: $(shell git ls-files -- '*.md') $(CCMTOOLKITDIR)/languages.yml $$(newcommits)
reports/status.md: $(shell git ls-files -- '*.md') $(CCMTOOLKITDIR)/languages.yml repository-lastcommit.ts
mkdir -p $(dir $@)
export PS4=; exec > $@ # black magic
echo ---
......@@ -38,7 +38,7 @@ BOOKMANIFESTS := $(foreach BOOK,$(BOOKS),book_$(BOOK)__$(_book)_$(BOOK)-manifest
language: $(BOOKMANIFESTS)
stats: reports/progress.pdf reports/language-worklong.pdf
stats: reports/progress.pdf reports/translations-worklog.pdf
combined-worklogs.sqlite: repository-worklog.sqlite $(foreach SUBMODULE,$(SUBMODULES),$(SUBMODULE)/repository-worklog.sqlite)
sqlite3 $@ 'DROP TABLE IF EXISTS commits; CREATE TABLE commits (sha TEXT, author TEXT, date DATE, file TEXT, added INT, removed INT)'
......@@ -103,7 +103,7 @@ reports/translations-worklog.md: combined-worklogs.sqlite combined-daylog.sqlite
done |
$(PANDOC) $(PANDOCARGS) -F pantable -o $@
reports/progress.md: $(CCMTOOLKITDIR)/languages.yml $$(newcommits)
reports/progress.md: $(CCMTOOLKITDIR)/languages.yml repository-lastcommit.ts
mkdir -p $(dir $@)
export PS4=; exec > $@ # black magic
echo ---
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