New file.
authorMORIOKA Tomohiko <tomo.git@chise.org>
Mon, 22 Sep 2014 06:40:53 +0000 (15:40 +0900)
committerMORIOKA Tomohiko <tomo.git@chise.org>
Mon, 22 Sep 2014 06:40:53 +0000 (15:40 +0900)
BDF/Hanazono/Makefile.in [new file with mode: 0644]

diff --git a/BDF/Hanazono/Makefile.in b/BDF/Hanazono/Makefile.in
new file mode 100644 (file)
index 0000000..c6466ae
--- /dev/null
@@ -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