From c6ea0081e1d6893668d6021dfd5dd90a7524ca81 Mon Sep 17 00:00:00 2001 From: tomo Date: Thu, 17 Dec 2009 18:44:12 +0000 Subject: [PATCH] New file. --- BDF/JISX0213/Makefile.in | 56 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 BDF/JISX0213/Makefile.in diff --git a/BDF/JISX0213/Makefile.in b/BDF/JISX0213/Makefile.in new file mode 100644 index 0000000..d5c5336 --- /dev/null +++ b/BDF/JISX0213/Makefile.in @@ -0,0 +1,56 @@ +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 -- 1.7.10.4