author | Alan Coopersmith <Alan.Coopersmith@Sun.COM> |
Thu, 26 Feb 2009 14:37:18 -0800 | |
changeset 651 | b1c16d874015 |
parent 561 | 3c2df35483af |
child 775 | 936047e3d4a7 |
permissions | -rw-r--r-- |
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 |
# |
651
b1c16d874015
6810319 bring nevada font packages closer to opensolaris ones
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
561
diff
changeset
|
5 |
# Copyright 2009 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 |
# |
651
b1c16d874015
6810319 bring nevada font packages closer to opensolaris ones
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
561
diff
changeset
|
33 |
# @(#)Makefile 1.9 09/02/26 |
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 |
|
493
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
365
diff
changeset
|
36 |
# Package name used in tarballs |
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
365
diff
changeset
|
37 |
MODULE_NAME=dejavu-fonts-ttf |
222
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) |
651
b1c16d874015
6810319 bring nevada font packages closer to opensolaris ones
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
561
diff
changeset
|
40 |
MODULE_VERSION=2.28 |
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 |
# Download site for source |
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
43 |
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
|
44 |
SOURCE_URL_SET=yes |
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
45 |
|
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
46 |
# 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
|
47 |
SOURCE_PATCHES= # None |
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
48 |
|
493
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
365
diff
changeset
|
49 |
# What to build |
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
365
diff
changeset
|
50 |
BUILD_TARGETS=$(SOURCE_DIR)/ttf/fonts.scale |
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
365
diff
changeset
|
51 |
BUILD_TARGETS_SET=yes |
222
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
52 |
|
493
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
365
diff
changeset
|
53 |
# What to install |
651
b1c16d874015
6810319 bring nevada font packages closer to opensolaris ones
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
561
diff
changeset
|
54 |
INSTALL_TARGETS=install_fonts_conf install_dejavu |
493
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
365
diff
changeset
|
55 |
INSTALL_TARGETS_SET=yes |
222
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
56 |
|
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
57 |
# Directory to install to |
561
3c2df35483af
6756343 Split FSWxorg-fonts into smaller packages & integrate to Nevada gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
540
diff
changeset
|
58 |
FONT_DEST_DIR=$(PROTODIR)$(X11_TRUETYPE_DIR) |
365
7b1fa8e8728b
6673505 Update deja vu fonts to 2.24
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
361
diff
changeset
|
59 |
FONTCONF_DEST_DIR=$(PROTODIR)/etc/fonts |
222
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
60 |
|
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
|
61 |
# 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
|
62 |
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
|
63 |
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
|
64 |
|
222
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
65 |
### Include common rulesets |
493
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
365
diff
changeset
|
66 |
include ../Makefile.inc |
222
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
67 |
|
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
68 |
### Rules specific to this directory: |
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
69 |
|
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
70 |
DEJAVU_FONT_FILES= \ |
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
71 |
DejaVuSans-Bold.ttf \ |
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
72 |
DejaVuSans-BoldOblique.ttf \ |
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
73 |
DejaVuSans-ExtraLight.ttf \ |
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
74 |
DejaVuSans-Oblique.ttf \ |
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
75 |
DejaVuSans.ttf \ |
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
76 |
DejaVuSansCondensed-Bold.ttf \ |
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
77 |
DejaVuSansCondensed-BoldOblique.ttf \ |
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
78 |
DejaVuSansCondensed-Oblique.ttf \ |
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
79 |
DejaVuSansCondensed.ttf \ |
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
80 |
DejaVuSansMono-Bold.ttf \ |
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
81 |
DejaVuSansMono-BoldOblique.ttf \ |
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
82 |
DejaVuSansMono-Oblique.ttf \ |
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
83 |
DejaVuSansMono.ttf \ |
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
84 |
DejaVuSerif-Bold.ttf \ |
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
85 |
DejaVuSerif-BoldItalic.ttf \ |
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
86 |
DejaVuSerif-Italic.ttf \ |
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
87 |
DejaVuSerif.ttf \ |
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
88 |
DejaVuSerifCondensed-Bold.ttf \ |
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
89 |
DejaVuSerifCondensed-BoldItalic.ttf \ |
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
90 |
DejaVuSerifCondensed-Italic.ttf \ |
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
91 |
DejaVuSerifCondensed.ttf |
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
92 |
|
493
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
365
diff
changeset
|
93 |
$(SOURCE_DIR)/ttf/fonts.scale: $(UNPACK_TARGET) |
561
3c2df35483af
6756343 Split FSWxorg-fonts into smaller packages & integrate to Nevada gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
540
diff
changeset
|
94 |
(cd $(SOURCE_DIR)/ttf && $(MKFONTSCALE) . ) |
222
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
95 |
|
561
3c2df35483af
6756343 Split FSWxorg-fonts into smaller packages & integrate to Nevada gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
540
diff
changeset
|
96 |
install_fonts_conf: $(BUILD_TARGETS) |
3c2df35483af
6756343 Split FSWxorg-fonts into smaller packages & integrate to Nevada gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
540
diff
changeset
|
97 |
mkdir -p $(FONTCONF_DEST_DIR)/conf.avail \ |
365
7b1fa8e8728b
6673505 Update deja vu fonts to 2.24
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
361
diff
changeset
|
98 |
$(FONTCONF_DEST_DIR)/conf.d |
7b1fa8e8728b
6673505 Update deja vu fonts to 2.24
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
361
diff
changeset
|
99 |
( 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
|
100 |
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
|
101 |
$(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
|
102 |
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
|
103 |
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
|
104 |
done ) |
561
3c2df35483af
6756343 Split FSWxorg-fonts into smaller packages & integrate to Nevada gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
540
diff
changeset
|
105 |
|
3c2df35483af
6756343 Split FSWxorg-fonts into smaller packages & integrate to Nevada gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
540
diff
changeset
|
106 |
|
3c2df35483af
6756343 Split FSWxorg-fonts into smaller packages & integrate to Nevada gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
540
diff
changeset
|
107 |
install_dejavu: $(BUILD_TARGETS) |
3c2df35483af
6756343 Split FSWxorg-fonts into smaller packages & integrate to Nevada gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
540
diff
changeset
|
108 |
mkdir -p $(FONT_DEST_DIR) |
3c2df35483af
6756343 Split FSWxorg-fonts into smaller packages & integrate to Nevada gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
540
diff
changeset
|
109 |
-( cd $(FONT_DEST_DIR) ; rm -f $(DEJAVU_FONT_FILES) DejaVuFontsCopyright.txt ) |
3c2df35483af
6756343 Split FSWxorg-fonts into smaller packages & integrate to Nevada gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
540
diff
changeset
|
110 |
( cd $(SOURCE_DIR)/ttf ; cp -p $(DEJAVU_FONT_FILES) $(FONT_DEST_DIR) ) |
3c2df35483af
6756343 Split FSWxorg-fonts into smaller packages & integrate to Nevada gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
540
diff
changeset
|
111 |
cp -p $(SOURCE_DIR)/LICENSE $(FONT_DEST_DIR)/DejaVuFontsCopyright.txt |
365
7b1fa8e8728b
6673505 Update deja vu fonts to 2.24
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
361
diff
changeset
|
112 |
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
|
113 |
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
|
114 |
../merge-fonts.scale.pl -i $(FONT_DEST_DIR)/fonts.scale \ |
561
3c2df35483af
6756343 Split FSWxorg-fonts into smaller packages & integrate to Nevada gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
540
diff
changeset
|
115 |
-i $(SOURCE_DIR)/ttf/fonts.scale -o $(FONT_DEST_DIR)/fonts.scale |
651
b1c16d874015
6810319 bring nevada font packages closer to opensolaris ones
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
561
diff
changeset
|
116 |
(cd $(FONT_DEST_DIR) && $(MKFONTDIR) . ) |