open-src/font/deja-vu/Makefile
author Alan Coopersmith <Alan.Coopersmith@Sun.COM>
Wed, 12 Mar 2008 13:22:28 -0700
changeset 365 7b1fa8e8728b
parent 361 311e963b15d6
child 493 f43507b5737d
permissions -rw-r--r--
6673505 Update deja vu fonts to 2.24 [install fontconfig configuration files now that fontconfig 2.5.0 is integrated]
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
222
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     1
###############################################################################
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     2
#
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     3
# Deja Vu Fonts Makefile
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     4
#
355
a3a81e9c227d 6672824 Copyright/license notices from X.Org software should be included in SVR4 package copyrights
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 222
diff changeset
     5
# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
222
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     6
# Use subject to license terms.
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     7
#
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     8
# Permission is hereby granted, free of charge, to any person obtaining a
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     9
# copy of this software and associated documentation files (the
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    10
# "Software"), to deal in the Software without restriction, including
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    11
# without limitation the rights to use, copy, modify, merge, publish,
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    12
# distribute, and/or sell copies of the Software, and to permit persons
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    13
# to whom the Software is furnished to do so, provided that the above
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    14
# copyright notice(s) and this permission notice appear in all copies of
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    15
# the Software and that both the above copyright notice(s) and this
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    16
# permission notice appear in supporting documentation.
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    17
# 
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    18
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    19
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    20
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    21
# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    22
# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    23
# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    24
# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    25
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    26
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    27
# 
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    28
# Except as contained in this notice, the name of a copyright holder
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    29
# shall not be used in advertising or otherwise to promote the sale, use
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    30
# or other dealings in this Software without prior written authorization
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    31
# of the copyright holder.
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    32
#
365
7b1fa8e8728b 6673505 Update deja vu fonts to 2.24
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 361
diff changeset
    33
# @(#)Makefile	1.4	08/03/12
222
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    34
#
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    35
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    36
PWD:sh=pwd
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    37
TOP=$(PWD)/../..
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    38
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    39
# Version number (used in path names)
361
311e963b15d6 6673505 Update deja vu fonts to 2.24
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 355
diff changeset
    40
VERSION=2.24
222
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    41
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    42
# Source tarball
361
311e963b15d6 6673505 Update deja vu fonts to 2.24
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 355
diff changeset
    43
SOURCE_TARBALL_NAME=dejavu-fonts-ttf-$(VERSION).tar.bz2
222
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    44
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    45
# Download site for source
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    46
SOURCE_URL=$(SF_DOWNLOADS_URL)/dejavu/$(SOURCE_TARBALL_NAME)
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    47
SOURCE_URL_SET=yes
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    48
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    49
# Patches to apply to source after unpacking, in order
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    50
SOURCE_PATCHES=		# None
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    51
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    52
# Directory created by unpacking source
361
311e963b15d6 6673505 Update deja vu fonts to 2.24
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 355
diff changeset
    53
SOURCE_DIR=$(BUILD_DIR)/dejavu-fonts-ttf-$(VERSION)
222
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    54
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    55
# What to build
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    56
BUILD_TARGETS=$(SOURCE_DIR)/fonts.scale
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    57
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    58
# Directory to install to
365
7b1fa8e8728b 6673505 Update deja vu fonts to 2.24
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 361
diff changeset
    59
FONT_DEST_DIR=$(PROTODIR)$(TRUETYPE_DIR)
7b1fa8e8728b 6673505 Update deja vu fonts to 2.24
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 361
diff changeset
    60
FONTCONF_DEST_DIR=$(PROTODIR)/etc/fonts
222
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    61
355
a3a81e9c227d 6672824 Copyright/license notices from X.Org software should be included in SVR4 package copyrights
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 222
diff changeset
    62
# License file
a3a81e9c227d 6672824 Copyright/license notices from X.Org software should be included in SVR4 package copyrights
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 222
diff changeset
    63
LICENSE_FILE=LICENSE
a3a81e9c227d 6672824 Copyright/license notices from X.Org software should be included in SVR4 package copyrights
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 222
diff changeset
    64
LICENSE_FILE_SET=yes
a3a81e9c227d 6672824 Copyright/license notices from X.Org software should be included in SVR4 package copyrights
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 222
diff changeset
    65
222
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    66
### Include common rulesets
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    67
include $(TOP)/common/Makefile.inc
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    68
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    69
### Rules specific to this directory:
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    70
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    71
DEJAVU_FONT_FILES= \
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    72
	DejaVuSans-Bold.ttf \
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    73
	DejaVuSans-BoldOblique.ttf \
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    74
	DejaVuSans-ExtraLight.ttf \
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    75
	DejaVuSans-Oblique.ttf \
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    76
	DejaVuSans.ttf \
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    77
	DejaVuSansCondensed-Bold.ttf \
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    78
	DejaVuSansCondensed-BoldOblique.ttf \
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    79
	DejaVuSansCondensed-Oblique.ttf \
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    80
	DejaVuSansCondensed.ttf \
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    81
	DejaVuSansMono-Bold.ttf \
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    82
	DejaVuSansMono-BoldOblique.ttf \
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    83
	DejaVuSansMono-Oblique.ttf \
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    84
	DejaVuSansMono.ttf \
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    85
	DejaVuSerif-Bold.ttf \
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    86
	DejaVuSerif-BoldItalic.ttf \
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    87
	DejaVuSerif-Italic.ttf \
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    88
	DejaVuSerif.ttf \
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    89
	DejaVuSerifCondensed-Bold.ttf \
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    90
	DejaVuSerifCondensed-BoldItalic.ttf \
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    91
	DejaVuSerifCondensed-Italic.ttf \
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    92
	DejaVuSerifCondensed.ttf
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    93
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    94
build_gen: $(BUILD_TARGETS)
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    95
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    96
$(SOURCE_DIR)/fonts.scale: $(UNPACK_TARGET)
361
311e963b15d6 6673505 Update deja vu fonts to 2.24
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 355
diff changeset
    97
	(cd $(SOURCE_DIR)/ttf && \
222
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    98
	 LD_LIBRARY_PATH=$(PROTODIR)$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR) \
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    99
	 $(PROTODIR)$(X11_DIR)/bin/mkfontscale . )
73975f82276f 6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   100
355
a3a81e9c227d 6672824 Copyright/license notices from X.Org software should be included in SVR4 package copyrights
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 222
diff changeset
   101
install_gen:: $(BUILD_TARGETS)
365
7b1fa8e8728b 6673505 Update deja vu fonts to 2.24
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 361
diff changeset
   102
	mkdir -p $(FONT_DEST_DIR) \
7b1fa8e8728b 6673505 Update deja vu fonts to 2.24
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 361
diff changeset
   103
		$(FONTCONF_DEST_DIR)/conf.avail \
7b1fa8e8728b 6673505 Update deja vu fonts to 2.24
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 361
diff changeset
   104
		$(FONTCONF_DEST_DIR)/conf.d
7b1fa8e8728b 6673505 Update deja vu fonts to 2.24
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 361
diff changeset
   105
	-( cd $(FONT_DEST_DIR) ; rm -f $(DEJAVU_FONT_FILES) DejaVuFontsCopyright.txt )
7b1fa8e8728b 6673505 Update deja vu fonts to 2.24
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 361
diff changeset
   106
	( cd $(SOURCE_DIR)/ttf ; cp -p $(DEJAVU_FONT_FILES) $(FONT_DEST_DIR) )
7b1fa8e8728b 6673505 Update deja vu fonts to 2.24
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 361
diff changeset
   107
	cp -p $(SOURCE_DIR)/LICENSE $(FONT_DEST_DIR)/DejaVuFontsCopyright.txt 
7b1fa8e8728b 6673505 Update deja vu fonts to 2.24
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 361
diff changeset
   108
	( cd $(SOURCE_DIR)/fontconfig ; set -x ; for f in *.conf ; do \
7b1fa8e8728b 6673505 Update deja vu fonts to 2.24
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 361
diff changeset
   109
		rm -f $(FONTCONF_DEST_DIR)/conf.avail/$$f \
7b1fa8e8728b 6673505 Update deja vu fonts to 2.24
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 361
diff changeset
   110
			$(FONTCONF_DEST_DIR)/conf.d/$$f ; \
7b1fa8e8728b 6673505 Update deja vu fonts to 2.24
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 361
diff changeset
   111
		cp -p $$f $(FONTCONF_DEST_DIR)/conf.avail/ ; \
7b1fa8e8728b 6673505 Update deja vu fonts to 2.24
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 361
diff changeset
   112
		ln -s ../conf.avail/$$f $(FONTCONF_DEST_DIR)/conf.d/ ; \
7b1fa8e8728b 6673505 Update deja vu fonts to 2.24
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 361
diff changeset
   113
	 done )
7b1fa8e8728b 6673505 Update deja vu fonts to 2.24
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 361
diff changeset
   114
	touch $(FONT_DEST_DIR)/fonts.scale
7b1fa8e8728b 6673505 Update deja vu fonts to 2.24
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 361
diff changeset
   115
	chmod +w $(FONT_DEST_DIR)/fonts.scale
7b1fa8e8728b 6673505 Update deja vu fonts to 2.24
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 361
diff changeset
   116
	../merge-fonts.scale.pl -i $(FONT_DEST_DIR)/fonts.scale \
7b1fa8e8728b 6673505 Update deja vu fonts to 2.24
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 361
diff changeset
   117
		-i $(SOURCE_DIR)/ttf/fonts.scale -o $(FONT_DEST_DIR)/fonts.scale