From: MORIOKA Tomohiko Date: Mon, 22 Sep 2014 06:40:53 +0000 (+0900) Subject: New file. X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e618ccc6ddb8f32f1554a4c5ecbe0820578a8a10;p=chise%2Fchise-fonts-installer.git New file. --- diff --git a/BDF/Hanazono/Makefile.in b/BDF/Hanazono/Makefile.in new file mode 100644 index 0000000..c6466ae --- /dev/null +++ b/BDF/Hanazono/Makefile.in @@ -0,0 +1,61 @@ +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 +HANAZONO_BDF_FONTS_DIR = $(BDF_FONTS_DIR)/Hanazono +HANAZONO_PCF_FONTS_DIR = $(PCF_FONTS_DIR)/Hanazono + +CHISE_FONTS_URL = http://www.chise.org/dist/fonts + +BDF_FILES = HanaMin-CDP-var-003.bdf HanaMin-CDP-var-005.bdf \ + HanaMin-UCS-BMP-itaiji-084.bdf HanaMin-Zihai-17.bdf + +OPTS = @ac_configure_args@ + +all: get + +get: $(BDF_FILES) + + +HanaMin-CDP-var-003.bdf: + $(WGET) $(CHISE_FONTS_URL)/BDF/Hanazono/HanaMin-CDP-var-003.bdf + +HanaMin-CDP-var-005.bdf: + $(WGET) $(CHISE_FONTS_URL)/BDF/Hanazono/HanaMin-CDP-var-005.bdf + +HanaMin-UCS-BMP-itaiji-084.bdf: + $(WGET) $(CHISE_FONTS_URL)/BDF/Hanazono/HanaMin-UCS-BMP-itaiji-084.bdf + +HanaMin-Zihai-17.bdf: + $(WGET) $(CHISE_FONTS_URL)/BDF/Hanazono/HanaMin-Zihai-17.bdf + + +install: + $(MKDIR) $(HANAZONO_BDF_FONTS_DIR) + ( $(TAR) -cf - *.bdf ) | \ + ( cd $(HANAZONO_BDF_FONTS_DIR) && $(TAR) -xf - ) + $(MKDIR) $(HANAZONO_PCF_FONTS_DIR) + for file in $(BDF_FILES) ; do \ + FONT=`basename $${file} .bdf`.pcf.gz ; \ + bdftopcf $${file} | gzip -9 > $(HANAZONO_PCF_FONTS_DIR)/$${FONT} ; \ + done + cd $(HANAZONO_PCF_FONTS_DIR) && mkfontdir + + +distclean: + -$(RM) Makefile + +distclean-all: + -$(RM) *.bdf Makefile