New file.
authortomo <tomo>
Thu, 22 Apr 2010 06:06:49 +0000 (06:06 +0000)
committertomo <tomo>
Thu, 22 Apr 2010 06:06:49 +0000 (06:06 +0000)
BDF/EGB/Makefile.in [new file with mode: 0644]

diff --git a/BDF/EGB/Makefile.in b/BDF/EGB/Makefile.in
new file mode 100644 (file)
index 0000000..0693e9d
--- /dev/null
@@ -0,0 +1,51 @@
+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
+EGB_BDF_FONTS_DIR = $(BDF_FONTS_DIR)/EGB
+EGB_PCF_FONTS_DIR = $(PCF_FONTS_DIR)/EGB
+
+YASUOKA_FONTS_URL      = http://kanji.zinbun.kyoto-u.ac.jp/~yasuoka/ftp/fonts/
+
+BDF_FILES      = guobiao16.bdf
+
+OPTS           = @ac_configure_args@
+
+all:   get
+
+get:   $(BDF_FILES)
+
+
+guobiao16.bdf:
+       $(WGET) $(YASUOKA_FONTS_URL)/guobiao16.bdf.Z
+       gunzip guobiao16.bdf.Z
+
+
+install:
+       $(MKDIR) $(EGB_BDF_FONTS_DIR)
+       ( $(TAR) -cf - *.bdf ) | \
+       ( cd $(EGB_BDF_FONTS_DIR) && $(TAR) -xf - )
+       $(MKDIR) $(EGB_PCF_FONTS_DIR)
+       for file in $(BDF_FILES) ; do \
+               FONT=`basename $${file} .bdf`.pcf.gz ; \
+               bdftopcf $${file} | gzip -best > $(EGB_PCF_FONTS_DIR)/$${FONT} ; \
+       done
+       ( $(TAR) -cf - fonts.alias ) | \
+       ( cd $(EGB_PCF_FONTS_DIR) && $(TAR) -xf - )
+       cd $(EGB_PCF_FONTS_DIR) && mkfontdir
+
+
+distclean:
+       -$(RM) *.bdf Makefile