From: tomo Date: Thu, 17 Dec 2009 18:44:12 +0000 (+0000) Subject: New file. X-Git-Tag: chise-fonts-installer-0_1~21 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6ea0081e1d6893668d6021dfd5dd90a7524ca81;p=chise%2Fchise-fonts-installer.git New file. --- 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