Makefile 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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 Fig2.pdf Fig6.pdf Fig7.pdf
  5. latexmk -pdf -g $<
  6. Fig6.pdf: code/recall.py scores.csv
  7. code/recall.py vandam-data
  8. Fig7.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. Fig2.pdf: code/sample.py vandam-data/recordings/converted/standard
  21. python code/sample.py
  22. vandam-data/recordings/converted/standard:
  23. datalad get vandam-data/recordings/converted/standard
  24. # This rule cleans up temporary LaTeX files, and result and PDF files
  25. clean:
  26. 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
  27. datalad drop vandam-data/annotations/its/converted
  28. datalad drop vandam-data/annotations/vtc/converted
  29. datalad drop vandam-data/recordings/converted/standard