From: tomo Date: Thu, 2 Jun 2011 18:04:11 +0000 (+0000) Subject: (install): Depend on `all'. X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=220f64b3b7412927b4344e940514bdf72a4e7804;p=chise%2Fchise-fonts-installer.git (install): Depend on `all'. (install-mac): New target. (/Library/Fonts/HanaMinA.ttf): New target. (/Library/Fonts/HanaMinB.ttf): New target. --- diff --git a/TrueType/Hanazono/Makefile.in b/TrueType/Hanazono/Makefile.in index a6aebf1..552a3cd 100644 --- a/TrueType/Hanazono/Makefile.in +++ b/TrueType/Hanazono/Makefile.in @@ -29,12 +29,27 @@ HanaMinA.ttf: 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