"de" translation discontinued as it is no longer updated.
[www.jankratochvil.net.git] / resume / Makefile.am
index 037201d..249d701 100644 (file)
 
 
 include $(top_srcdir)/Makefile-head.am
+
+EXTRA_DIST+= \
+               Resume-JanKratochvil.html.pl \
+               Resume-JanKratochvil.tex \
+               Resume-JanKratochvil.pdf
+#              Resume-JanKratochvil-face.png
+
+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)}') \
+                       |ps2pdf13 - >$@
+
+Resume-JanKratochvil.pdf: Resume-JanKratochvil.tex #Resume-JanKratochvil-face.pdf
+       pdflatex $< resume.tex
+
+CLEANFILES+= \
+               *.aux \
+               *.log \
+               *.out \
+               Resume-JanKratochvil-face.pdf
+