src/xorg/fonts/Makefile.fonts
changeset 405 c601bc5ddd76
child 408 5ba7299fee0c
equal deleted inserted replaced
404:999a19fc2a3d 405:c601bc5ddd76
       
     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 #
       
     8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
       
     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
       
    14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
       
    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 
       
    27 $(VER)/.fonts_installed: $(VER)/.unpacked
       
    28 	$(INSDIR) -m 755 -u root -g bin $(ROOT_FONT_DIR)
       
    29 	( cd $(VER); \
       
    30 	for f in $(FONTS); do \
       
    31 		$(INS) $(ROOT_FONT_DIR) -m 0444 -u root -g bin $$f; \
       
    32 	done; )
       
    33 	touch $@
       
    34 
       
    35 $(VER)/%.bz2: $(VER)/%
       
    36 	$(BZIP2) -c $< > $@
       
    37 
       
    38 $(VER)/.docs_installed: $(VER)/.unpacked $(DOCS:%=$(VER)/%.bz2)
       
    39 	$(INSDIR) -m 755 -u root -g bin $(ROOT_DOC_DIR)
       
    40 	( cd $(VER); \
       
    41 	for f in $(DOCS); do \
       
    42 		$(INS) $(ROOT_DOC_DIR) -m 0444 -u root -g bin $$f.bz2; \
       
    43 	done; )
       
    44 	touch $@
       
    45 
       
    46 $(VER)/.installed: $(VER)/.docs_installed $(VER)/.fonts_installed 
       
    47