src/xorg/fonts/Makefile.fonts
author hnhn
Wed, 28 Jul 2010 16:32:08 +0200
changeset 476 327f8f3c93a4
parent 450 13efd215ca04
child 478 c3b8b812ce01
permissions -rw-r--r--
6940510 Integrate newest Lohit Indic fonts

#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
#

FONTROOT	= $(FILEROOT)/usr/share/fonts/TrueType

$(VER)/.fonts_installed: $(VER)/.unpacked
	$(INSDIR) -m 755 -u root -g bin $(ROOT_FONT_DIR)
	( cd $(VER); \
	for f in $(FONTS); do \
		$(INS) $(ROOT_FONT_DIR) -m 0444 -u root -g bin $$f; \
	done; )
	touch $@

$(VER)/%.bz2: $(VER)/%
	$(BZIP2) -c $< > $@

$(VER)/.docs_installed: $(VER)/.unpacked $(DOCS:%=$(VER)/%.bz2)
	$(INSDIR) -m 755 -u root -g bin $(ROOT_DOC_DIR)
	( cd $(VER); \
	if [ -n "$(DOCS)" ]; then \
		for f in "$(DOCS)"; do \
			$(INS) $(ROOT_DOC_DIR) -m 0444 -u root -g bin $$f.bz2; \
		done; \
	fi )
	touch $@

$(VER)/.installed: $(VER)/.docs_installed $(VER)/.fonts_installed 

clean:
	$(RM) -r $(VER) $(ORIG_VER)

clobber: clean