Pass -sPAPERSIZE=a4 to dvipdf to stop ghostscript from messing up the papersize...
[matthijs/projects/internship.git] / Report / Makefile
index fac9ed755d77ee9e3c873d03543e9a58f35d5d4d..372b36385fc4582b29a632304669e22beae8e1c9 100644 (file)
@@ -1,9 +1,9 @@
-all: Report.dvi
+all: Report.pdf
 
 REPEAT_TEXT = 'Rerun to get cross-references right'
 
 %.pdf: %.dvi
-       dvipdf $(basename $@)
+       dvipdf -sPAPERSIZE=a4 $(basename $@)
 
 %.ps: %.svg
        inkscape $(addsuffix .svg,$(basename $@)) --export-ps=$@