From: MORIOKA Tomohiko Date: Sun, 14 Dec 2014 04:24:47 +0000 (+0900) Subject: New file. X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=aa22086d555b230216b28c63729c8108388e425d;p=chise%2Fchise-fonts-installer.git New file. --- 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