author | Jon Tibble <meths@btinternet.com> |
Sat, 06 Oct 2012 16:01:36 +0100 | |
changeset 579 | 869467bff179 |
parent 479 | 7103d7fe30db |
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 |
# |
|
476 | 21 |
# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. |
405 | 22 |
# |
23 |
||
447
d8536e70164b
6900593 [Obsolescence of /usr/X11] migrate G11n fonts to /usr/share/fonts
hnhn
parents:
415
diff
changeset
|
24 |
FONTROOT = $(FILEROOT)/usr/share/fonts/TrueType |
d8536e70164b
6900593 [Obsolescence of /usr/X11] migrate G11n fonts to /usr/share/fonts
hnhn
parents:
415
diff
changeset
|
25 |
|
405 | 26 |
$(VER)/.fonts_installed: $(VER)/.unpacked |
27 |
$(INSDIR) -m 755 -u root -g bin $(ROOT_FONT_DIR) |
|
28 |
( cd $(VER); \ |
|
29 |
for f in $(FONTS); do \ |
|
30 |
$(INS) $(ROOT_FONT_DIR) -m 0444 -u root -g bin $$f; \ |
|
31 |
done; ) |
|
32 |
touch $@ |
|
33 |
||
34 |
$(VER)/%.bz2: $(VER)/% |
|
35 |
$(BZIP2) -c $< > $@ |
|
36 |
||
37 |
$(VER)/.docs_installed: $(VER)/.unpacked $(DOCS:%=$(VER)/%.bz2) |
|
38 |
$(INSDIR) -m 755 -u root -g bin $(ROOT_DOC_DIR) |
|
39 |
( cd $(VER); \ |
|
479 | 40 |
DOCS="$(DOCS)"; \ |
41 |
for f in $$DOCS; do \ |
|
42 |
$(INS) $(ROOT_DOC_DIR) -m 0444 -u root -g bin $$f.bz2; \ |
|
43 |
done; \ |
|
44 |
) |
|
405 | 45 |
touch $@ |
46 |
||
47 |
$(VER)/.installed: $(VER)/.docs_installed $(VER)/.fonts_installed |
|
48 |
||
408
5ba7299fee0c
6865555 Fonts should be delivered with file permissions 0444
hnhn
parents:
405
diff
changeset
|
49 |
clean: |
450 | 50 |
$(RM) -r $(VER) $(ORIG_VER) |
408
5ba7299fee0c
6865555 Fonts should be delivered with file permissions 0444
hnhn
parents:
405
diff
changeset
|
51 |
|
5ba7299fee0c
6865555 Fonts should be delivered with file permissions 0444
hnhn
parents:
405
diff
changeset
|
52 |
clobber: clean |
5ba7299fee0c
6865555 Fonts should be delivered with file permissions 0444
hnhn
parents:
405
diff
changeset
|
53 |