From aa22086d555b230216b28c63729c8108388e425d Mon Sep 17 00:00:00 2001 From: MORIOKA Tomohiko Date: Sun, 14 Dec 2014 13:24:47 +0900 Subject: [PATCH] New file. --- BDF/MJ/Makefile.in | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 BDF/MJ/Makefile.in diff --git a/BDF/MJ/Makefile.in b/BDF/MJ/Makefile.in new file mode 100644 index 0000000..4f36e9c --- /dev/null +++ b/BDF/MJ/Makefile.in @@ -0,0 +1,52 @@ +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 +MJ_BDF_FONTS_DIR = $(BDF_FONTS_DIR)/MJ +MJ_PCF_FONTS_DIR = $(PCF_FONTS_DIR)/MJ + +CHISE_FONTS_URL = http://www.chise.org/dist/fonts + +BDF_FILES = mj0-48.bdf.gz + +OPTS = @ac_configure_args@ + +all: get + +get: $(BDF_FILES) + + +mj0-48.bdf.gz: + $(WGET) $(CHISE_FONTS_URL)/BDF/MJ/mj0-48.bdf.gz + + +install: + $(MKDIR) $(MJ_BDF_FONTS_DIR) + ( $(TAR) -cf - *.bdf.gz ) | \ + ( cd $(MJ_BDF_FONTS_DIR) && $(TAR) -xf - ) + $(MKDIR) $(MJ_PCF_FONTS_DIR) + for file in $(BDF_FILES) ; do \ + FONT=`basename $${file} .bdf.gz`.pcf.gz ; \ + gzip -d < $${file} | bdftopcf | \ + gzip -9 > $(MJ_PCF_FONTS_DIR)/$${FONT} ; \ + done + cd $(MJ_PCF_FONTS_DIR) && mkfontdir + + +distclean: + -$(RM) Makefile + +distclean-all: + -$(RM) *.bdf Makefile -- 1.7.10.4