New file.
authorMORIOKA Tomohiko <tomo.git@chise.org>
Sun, 14 Dec 2014 04:24:47 +0000 (13:24 +0900)
committerMORIOKA Tomohiko <tomo.git@chise.org>
Sun, 14 Dec 2014 04:24:47 +0000 (13:24 +0900)
BDF/MJ/Makefile.in [new file with mode: 0644]

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