unzip -x $(HANAZONO_ZIP_FILE)
-install:
+install: all
$(MKDIR) $(HANAZONO_FONTS_DIR)
( $(TAR) -cf - *.ttf *.txt fonts.dir fonts.alias ) | \
( cd $(HANAZONO_FONTS_DIR) && $(TAR) -xf - )
+install-mac: /Library/Fonts/HanaMinA.ttf /Library/Fonts/HanaMinB.ttf
+ $(MKDIR) $(HANAZONO_FONTS_DIR)
+ ( $(TAR) -cf - *.txt fonts.dir fonts.alias ) | \
+ ( cd $(HANAZONO_FONTS_DIR) && $(TAR) -xf - )
+ -$(RM) $(HANAZONO_FONTS_DIR)/HanaMinA.ttf $(HANAZONO_FONTS_DIR)/HanaMinB.ttf
+ ln -s /Library/Fonts/HanaMinA.ttf $(HANAZONO_FONTS_DIR)
+ ln -s /Library/Fonts/HanaMinB.ttf $(HANAZONO_FONTS_DIR)
+
+/Library/Fonts/HanaMinA.ttf: all
+ cp -p HanaMinA.ttf /Library/Fonts/
+
+/Library/Fonts/HanaMinB.ttf: all
+ cp -p HanaMinB.ttf /Library/Fonts/
+
+
distclean:
-$(RM) Makefile