chiark / gitweb /
finalise changelog
[xfonts-traditional.git] / Makefile
index 1056107e3716ea28b814d179cd86ea96db78152b..a0412723ca8d4b9a6b4eabf4d21128dc00dba29b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,13 @@ install=install -o 0 -g 0
 
 default: all
 
-all:
+OWNFONT = 6x13O
+SRCBDF = $(patsubst %, bdfsrc/%.bdf, $(OWNFONT))
+GENPCF = $(patsubst %, good/%.pcf.gz, $(OWNFONT))
+$(GENPCF): good/%.pcf.gz: bdfsrc/%.bdf
+       bdftopcf <$< | gzip -9 >$@
+
+all: $(GENPCF)
        mkdir -p rules/
        ./mkrules <specs
        cp manual/*.rules rules/
@@ -25,4 +31,5 @@ install:
 clean:
        rm -f rules/*.rules rules/foundries rules/foundries.new
        rm -f good/*.bdf bad/*.bdf
+       rm -f $(GENPCF)
        rm -f *~ $(utility).sedded