Makefile (619B)
1 2BDFS := ctrld-fixed-16r.bdf ctrld-fixed-16b.bdf ctrld-fixed-16r-i.bdf ctrld-fixed-16b-i.bdf 3BDFS += ctrld-fixed-13r.bdf ctrld-fixed-13b.bdf ctrld-fixed-13r-i.bdf ctrld-fixed-13b-i.bdf 4BDFS += ctrld-fixed-10r.bdf ctrld-fixed-10b.bdf 5 6PCFS := ${BDFS:.bdf=.pcf} 7 8all: fonts.dir fonts.scale ${PCFS} 9 xset fp default 10 xset +fp `pwd` 11 xset fp rehash 12 13fonts.dir: ${PCFS} fonts.scale 14 mkfontdir 15 16fonts.scale: ${PCFS} 17 mkfontscale 18 19clean: 20 rm -rf *.bak *-2x.bdf *.pcf fonts.dir fonts.scale 21 222x: 23 for i in ${BDFS}; do bdfresize -f 2 "$$i" > $$(basename $$i .bdf)-2x.bdf; done 24 25.SUFFIXES: .bdf .pcf 26 27.bdf.pcf: 28 bdftopcf -o $@ $<