author | hnhn |
Wed, 02 Dec 2009 17:19:45 +0100 | |
changeset 447 | d8536e70164b |
parent 415 | 02da8ebe6414 |
child 450 | 13efd215ca04 |
permissions | -rw-r--r-- |
405 | 1 |
# |
2 |
# CDDL HEADER START |
|
3 |
# |
|
4 |
# The contents of this file are subject to the terms of the |
|
5 |
# Common Development and Distribution License (the "License"). |
|
6 |
# You may not use this file except in compliance with the License. |
|
7 |
# |
|
415 | 8 |
# You can obtain a copy of the license at src/OPENSOLARIS.LICENSE |
405 | 9 |
# or http://www.opensolaris.org/os/licensing. |
10 |
# See the License for the specific language governing permissions |
|
11 |
# and limitations under the License. |
|
12 |
# |
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
|
415 | 14 |
# file and include the License file at src/OPENSOLARIS.LICENSE. |
405 | 15 |
# If applicable, add the following below this CDDL HEADER, with the |
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
|
18 |
# |
|
19 |
# CDDL HEADER END |
|
20 |
# |
|
21 |
||
22 |
# |
|
23 |
# Copyright 2009 Sun Microsystems, Inc. All rights reserved. |
|
24 |
# Use is subject to license terms. |
|
25 |
# |
|
26 |
||
447
d8536e70164b
6900593 [Obsolescence of /usr/X11] migrate G11n fonts to /usr/share/fonts
hnhn
parents:
415
diff
changeset
|
27 |
FONTROOT = $(FILEROOT)/usr/share/fonts/TrueType |
d8536e70164b
6900593 [Obsolescence of /usr/X11] migrate G11n fonts to /usr/share/fonts
hnhn
parents:
415
diff
changeset
|
28 |
|
405 | 29 |
$(VER)/.fonts_installed: $(VER)/.unpacked |
30 |
$(INSDIR) -m 755 -u root -g bin $(ROOT_FONT_DIR) |
|
31 |
( cd $(VER); \ |
|
32 |
for f in $(FONTS); do \ |
|
33 |
$(INS) $(ROOT_FONT_DIR) -m 0444 -u root -g bin $$f; \ |
|
34 |
done; ) |
|
35 |
touch $@ |
|
36 |
||
37 |
$(VER)/%.bz2: $(VER)/% |
|
38 |
$(BZIP2) -c $< > $@ |
|
39 |
||
40 |
$(VER)/.docs_installed: $(VER)/.unpacked $(DOCS:%=$(VER)/%.bz2) |
|
41 |
$(INSDIR) -m 755 -u root -g bin $(ROOT_DOC_DIR) |
|
42 |
( cd $(VER); \ |
|
43 |
for f in $(DOCS); do \ |
|
44 |
$(INS) $(ROOT_DOC_DIR) -m 0444 -u root -g bin $$f.bz2; \ |
|
45 |
done; ) |
|
46 |
touch $@ |
|
47 |
||
48 |
$(VER)/.installed: $(VER)/.docs_installed $(VER)/.fonts_installed |
|
49 |
||
408
5ba7299fee0c
6865555 Fonts should be delivered with file permissions 0444
hnhn
parents:
405
diff
changeset
|
50 |
clean: |
5ba7299fee0c
6865555 Fonts should be delivered with file permissions 0444
hnhn
parents:
405
diff
changeset
|
51 |
$(RM) -r $(VER) |
5ba7299fee0c
6865555 Fonts should be delivered with file permissions 0444
hnhn
parents:
405
diff
changeset
|
52 |
|
5ba7299fee0c
6865555 Fonts should be delivered with file permissions 0444
hnhn
parents:
405
diff
changeset
|
53 |
clobber: clean |
5ba7299fee0c
6865555 Fonts should be delivered with file permissions 0444
hnhn
parents:
405
diff
changeset
|
54 |