(install-mac): New target.
authorMORIOKA Tomohiko <tomo.git@chise.org>
Mon, 17 Sep 2018 05:55:13 +0000 (14:55 +0900)
committerMORIOKA Tomohiko <tomo.git@chise.org>
Mon, 17 Sep 2018 05:55:13 +0000 (14:55 +0900)
(install-truetype-mac): New target.
(install-scripts-mac): New target.

Makefile.in

index 099ace8..4248c4e 100644 (file)
@@ -23,6 +23,8 @@ all:  build-intlfonts build-bdf build-truetype
 install:       all \
        install-intlfonts install-bdf install-truetype install-scripts
 
+install-mac: install install-truetype-mac install-scripts-mac
+
 
 build-intlfonts:       intlfonts-1.2.1/config.log
        cd intlfonts-1.2.1 && make
@@ -51,11 +53,18 @@ build-truetype:
 install-truetype:
        cd TrueType && make install
 
+install-truetype-mac:
+       cd TrueType && make install-mac
+
 
 install-scripts:
        -$(MKDIR) $(SCRIPTS_DIR)
        install -c chise-setup-xfonts $(SCRIPTS_DIR)
 
+install-scripts-mac:   install-scripts
+       sudo cp -pv site-setup-xfonts.sh \
+           /usr/X11/lib/X11/xinit/xinitrc.d/19-site-fontdir.sh
+
 
 distclean:
        cd BDF && make distclean