diff options
| author | Joe Carstairs <me@joeac.net> | 2026-05-01 16:18:37 +0100 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2026-05-01 16:20:38 +0100 |
| commit | 013f03927ccd3ed40bf91d50e907d02fd177e77c (patch) | |
| tree | 0bf3a3c581dce01c4c0b151469023e98ee67d8d1 /Makefile | |
| parent | 6eae467c35c306c432eb9f8d662c068a96511db8 (diff) | |
uses variables in Makefile
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -1,3 +1,7 @@ +BIBLIOGRAPHY := bibliography.bib +LOG_MARKDOWN := log.md +LOG_PDF := log.pdf + all: log watch: @@ -13,15 +17,15 @@ else done endif -log: log.md bibliography.bib +log: $(LOG_MD) $(BIBLIOGRAPHY) pandoc \ --standalone \ --from markdown \ --to pdf \ --pdf-engine pdflatex \ --citeproc \ - --output log.pdf \ - log.md + --output $(LOG_PDF) \ + $(LOG_MD) clean: - rm log.pdf + rm $(LOG_PDF) |
