# works at least with the Heirloom tools http://heirloom.sf.net # Uncomment the next line and adjust the mentioned file to use # custom fonts. Otherwise, default sans-serif fonts are used. #MYFONTS=style.fonts BASENAME=tcl all: $(BASENAME).pdf $(BASENAME).ps: $(BASENAME).ms export TROFFONTS=fonts;\ sed '/./!d' $(BASENAME).ms | \ pic | troff -ms slides $(MYFONTS) - | dpost | \ sed '1s,$$, EPSF-0.0\n%%BoundingBox: 0 0 600 450,' \ >$@ $(BASENAME).pdf: $(BASENAME).ps ps2pdf -dEPSCrop -dPDFSETTINGS=/prepress $<