summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 9bee3fa..3af9477 100644
--- a/Makefile
+++ b/Makefile
@@ -40,6 +40,11 @@ pdf3 :
cd assignments/3 && pandoc --metadata title="COMP-378: Assignment 3 - mo khan (3431709)" --from=commonmark --to=html5 -s -o README.pdf README.md
pdffinal :
- cd rvh && bundle exec erd --notation=bachman --orientation=vertical --filetype=dot --prepend_primary=true --inheritance --title="RVH ERD" && dot -Tpng erd.dot > erd.png
- mv rvh/erd.png assignments/final/
+ cd rvh && \
+ bundle exec erd --notation=bachman --orientation=vertical --filetype=dot --prepend_primary=true --inheritance --title="RVH EER" && \
+ dot -Tpng erd.dot > erd.png && \
+ convert erd.png -resize 1024x768 resize_erd.png && \
+ rm erd.png && \
+ mv resize_erd.png erd.png
+ mv rvh/erd.png assignments/final/erd.png
cd assignments/final && pandoc --metadata title="COMP-378: Final Project - mo khan (3431709)" --from=commonmark --to=html5 -s -o README.pdf README.md