New file.
authortomo <tomo>
Thu, 17 Dec 2009 18:44:12 +0000 (18:44 +0000)
committertomo <tomo>
Thu, 17 Dec 2009 18:44:12 +0000 (18:44 +0000)
BDF/JISX0213/Makefile.in [new file with mode: 0644]

diff --git a/BDF/JISX0213/Makefile.in b/BDF/JISX0213/Makefile.in
new file mode 100644 (file)
index 0000000..d5c5336
--- /dev/null
@@ -0,0 +1,56 @@
+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
+JISX0213_BDF_FONTS_DIR = $(BDF_FONTS_DIR)/JISX0213
+JISX0213_PCF_FONTS_DIR = $(PCF_FONTS_DIR)/JISX0213
+
+JISX0213_FONTS_URL = http://www12.ocn.ne.jp/~imamura
+
+BDF_FILES      = jiskan16-2000-1.bdf.gz jiskan16-2000-2.bdf.gz \
+                 jiskan16-2004-1.bdf.gz
+
+OPTS           = @ac_configure_args@
+
+all:   get
+
+get:   $(BDF_FILES)
+
+
+jiskan16-2000-1.bdf.gz:
+       $(WGET) $(JISX0213_FONTS_URL)/jiskan16-2000-1.bdf.gz
+
+jiskan16-2000-2.bdf.gz:
+       $(WGET) $(JISX0213_FONTS_URL)/jiskan16-2000-2.bdf.gz
+
+jiskan16-2004-1.bdf.gz:
+       $(WGET) $(JISX0213_FONTS_URL)/jiskan16-2004-1.bdf.gz
+
+
+install:
+       $(MKDIR) $(JISX0213_BDF_FONTS_DIR)
+       ( $(TAR) -cf - *.bdf.gz ) | \
+       ( cd $(JISX0213_BDF_FONTS_DIR) && $(TAR) -xf - )
+       $(MKDIR) $(JISX0213_PCF_FONTS_DIR)
+       for file in $(BDF_FILES) ; do \
+               FONT=`basename $${file} .bdf.gz`.pcf.gz ; \
+               zcat $${file} | bdftopcf | gzip -best \
+               > $(JISX0213_PCF_FONTS_DIR)/$${FONT} ; \
+       done
+       cd $(JISX0213_PCF_FONTS_DIR) && mkfontdir
+
+
+distclean:
+       -$(RM) *.bdf.gz Makefile