diff options
| author | Mohit Agarwal <mohit.agarwal@sky.com> | 2025-05-15 21:32:33 +0100 |
|---|---|---|
| committer | Mohit Agarwal <mohit.agarwal@sky.com> | 2025-05-15 21:32:33 +0100 |
| commit | f9f8e9323144f87d95407b29a9f185cfc4c7bc8a (patch) | |
| tree | e3b2153e1e45b21d066391bef957bd89f066e80b /Makefile | |
| parent | 3d984961f713dccfc64c9be317dfc2719e2a21da (diff) | |
Writing
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..be61a52 --- /dev/null +++ b/Makefile @@ -0,0 +1,17 @@ +TARGETS=studies/exams.html\ + studies/subjects/computer-science.html +TARGETS_PDF=$(TARGETS:%html=%pdf) + +default: $(TARGETS) +pdf: $(TARGETS_PDF) + +%.html: %.md + pandoc "$^" -o "$@"\ + -s\ + --css="https://mohit.uk/document.css"\ + -B "navbar.html" +%.pdf: %.md + pandoc "$^" -o "$@"\ + --pdf-engine=pdfroff +clean: + rm -rf $(TARGETS) |
