chiark / gitweb /
add bug #
[xfonts-traditional.git] / Makefile
index 8e27113dd13d819011d4bc749487208422dcc81a..a0412723ca8d4b9a6b4eabf4d21128dc00dba29b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,14 @@ 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/
 
@@ -24,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