commit e405df765188cc59907a7bfdc15276484c02b4bd parent 7014a491c852d0c9293a1ca493301bf0d130dcb3 Author: Bin Jin <bjin@ctrl-d.org> Date: Sun, 29 Apr 2012 21:12:05 +0800 add some useful scripts Diffstat:
A | .gitignore | | | 3 | +++ |
A | Makefile | | | 22 | ++++++++++++++++++++++ |
2 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore @@ -0,0 +1,3 @@ +*.pcf +fonts.dir +fonts.scale diff --git a/Makefile b/Makefile @@ -0,0 +1,22 @@ + +BDFS := ctrld-fixed-16r.bdf ctrld-fixed-16b.bdf ctrld-fixed-16r-i.bdf ctrld-fixed-16b-i.bdf +PCFS := ${BDFS:.bdf=.pcf} + +all: fonts.dir fonts.scale ${PCFS} + xset fp default + xset +fp `pwd` + xset fp rehash + +fonts.dir: ${PCFS} fonts.scale + mkfontdir + +fonts.scale: ${PCFS} + mkfontscale + +clean: + rm -rf *.pcf fonts.dir fonts.scale + +.SUFFIXES: .bdf .pcf + +.bdf.pcf: + bdftopcf -o $@ $<