--- /dev/null
+VERSION = @PACKAGE_VERSION@
+
+RM = /bin/rm -f
+TAR = tar
+WGET = wget
+MKDIR = mkdir -p
+SUDO =
+
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+
+datadir = @datadir@
+
+FONTS_DIR = $(datadir)/fonts
+BDF_FONTS_DIR = $(datadir)/fonts/BDF
+PCF_FONTS_DIR = $(datadir)/fonts/PCF
+JISX0213_BDF_FONTS_DIR = $(BDF_FONTS_DIR)/JISX0213
+JISX0213_PCF_FONTS_DIR = $(PCF_FONTS_DIR)/JISX0213
+
+JISX0213_FONTS_URL = http://www12.ocn.ne.jp/~imamura
+
+BDF_FILES = jiskan16-2000-1.bdf.gz jiskan16-2000-2.bdf.gz \
+ jiskan16-2004-1.bdf.gz
+
+OPTS = @ac_configure_args@
+
+all: get
+
+get: $(BDF_FILES)
+
+
+jiskan16-2000-1.bdf.gz:
+ $(WGET) $(JISX0213_FONTS_URL)/jiskan16-2000-1.bdf.gz
+
+jiskan16-2000-2.bdf.gz:
+ $(WGET) $(JISX0213_FONTS_URL)/jiskan16-2000-2.bdf.gz
+
+jiskan16-2004-1.bdf.gz:
+ $(WGET) $(JISX0213_FONTS_URL)/jiskan16-2004-1.bdf.gz
+
+
+install:
+ $(MKDIR) $(JISX0213_BDF_FONTS_DIR)
+ ( $(TAR) -cf - *.bdf.gz ) | \
+ ( cd $(JISX0213_BDF_FONTS_DIR) && $(TAR) -xf - )
+ $(MKDIR) $(JISX0213_PCF_FONTS_DIR)
+ for file in $(BDF_FILES) ; do \
+ FONT=`basename $${file} .bdf.gz`.pcf.gz ; \
+ zcat $${file} | bdftopcf | gzip -best \
+ > $(JISX0213_PCF_FONTS_DIR)/$${FONT} ; \
+ done
+ cd $(JISX0213_PCF_FONTS_DIR) && mkfontdir
+
+
+distclean:
+ -$(RM) *.bdf.gz Makefile