From e618ccc6ddb8f32f1554a4c5ecbe0820578a8a10 Mon Sep 17 00:00:00 2001 From: MORIOKA Tomohiko Date: Mon, 22 Sep 2014 15:40:53 +0900 Subject: [PATCH] New file. --- BDF/Hanazono/Makefile.in | 61 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 BDF/Hanazono/Makefile.in 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 -- 1.7.10.4