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