Makefile 1.4 KB

12345678910111213141516171819202122232425262728293031323334
  1. all: main.pdf
  2. # This rule is executed last, and renders the full PDF from the manuscript with latexmk.
  3. # The -g flag is used to *always* process the document, even if no changes have been made to it.
  4. main.pdf: main.tex references.bib Fig4.pdf Fig5.pdf
  5. latexmk -pdf -g $<
  6. Fig4.pdf: code/recall.py scores.csv
  7. code/recall.py vandam-data
  8. Fig5.pdf: code/confusion_matrix.py vandam-data/annotations/eaf/converted/*.csv vandam-data/annotations/vtc/converted/*.csv
  9. code/confusion_matrix.py vandam-data
  10. scores.csv: vandam-data/annotations/its/converted/*.csv vandam-data/annotations/vtc/converted/*.csv vandam-data/annotations/eaf/converted/*.csv vandam-data/annotations/cha/aligned/converted/*.csv
  11. code/recall.py vandam-data
  12. vandam-data/annotations/its/converted/*.csv:
  13. datalad get vandam-data/annotations/its/converted
  14. vandam-data/annotations/vtc/converted/*.csv:
  15. datalad get vandam-data/annotations/vtc/converted
  16. vandam-data/annotations/cha/aligned/converted/*.csv:
  17. datalad get vandam-data/annotations/cha/aligned/converted
  18. vandam-data/annotations/eaf/converted/*.csv:
  19. datalad get vandam-data/annotations/eaf/converted
  20. # This rule cleans up temporary LaTeX files, and result and PDF files
  21. clean:
  22. rm -f main.bbl main.aux main.blg main.log main.out main.pdf main.tdo main.fls main.fdb_latexmk texput.log *-eps-converted-to.pdf scores.csv
  23. datalad drop vandam-data/annotations/its/converted
  24. datalad drop vandam-data/annotations/vtc/converted