summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-01-13 21:55:35 -0700
committermo khan <mo.khan@gmail.com>2020-01-13 21:55:35 -0700
commit7cbaa0d4e9408648efbd01d960188f8489eb8b59 (patch)
tree10c407f1b3c3e832e9525a188e1b06fb213b6dd5 /Makefile
parent022432983e00eac26f30350907fc8527222710da (diff)
use pandoc to generate PDF
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index c2ed5d0..a06a16f 100644
--- a/Makefile
+++ b/Makefile
@@ -4,10 +4,10 @@ clean :
rm -f assignments/1/README.pdf
rm -f assignments/1/*.png
-pdf : assignments/1/README.pdf
-
uml :
plantuml assignments/1/*.puml
+pdf : uml assignments/1/README.pdf
+
assignments/1/README.pdf :
- mdpdf assignments/1/README.md
+ cd assignments/1 && pandoc --metadata pagetitle="assignment 1" --from=commonmark --to=html5 -s -o README.pdf README.md