X-Git-Url: http://git.jankratochvil.net/?a=blobdiff_plain;f=resume%2FMakefile.am;fp=resume%2FMakefile.am;h=70f74f14bb6ec78b54124d145e28b2157ac14aac;hb=16a1c80b174e8ca53006dd5ebf187dfd66b47eb3;hp=037201d539ba63dd6de9338b154af200dcfba288;hpb=e4cd1f53fdcdfb94253f281fa8d4642ff316d0a1;p=www.jankratochvil.net.git diff --git a/resume/Makefile.am b/resume/Makefile.am index 037201d..70f74f1 100644 --- a/resume/Makefile.am +++ b/resume/Makefile.am @@ -17,3 +17,28 @@ include $(top_srcdir)/Makefile-head.am + +EXTRA_DIST+= \ + Resume-JanKratochvil.html.pl \ + Resume-JanKratochvil-face.png + Resume-JanKratochvil.tex + +DOWNSCALE=100 + +%.pdf: %.png + pngtopnm <$<|pnmtops -nocenter \ + -imagewidth $$(echo $$(pngtopnm <$< |head -n2)|awk '{print $$2/$(DOWNSCALE)}') \ + -imageheight $$(echo $$(pngtopnm <$< |head -n2)|awk '{print $$3/$(DOWNSCALE)}') \ + -width $$(echo $$(pngtopnm <$< |head -n2)|awk '{print $$2/$(DOWNSCALE)}') \ + -height $$(echo $$(pngtopnm <$< |head -n2)|awk '{print $$3/$(DOWNSCALE)}') \ + |ps2pdf12 - >$@ + +Resume-JanKratochvil.pdf: Resume-JanKratochvil.tex Resume-JanKratochvil-face.pdf + pdflatex $< resume.tex + +CLEANFILES+= \ + *.aux \ + *.log \ + *.out \ + *.pdf +