Makefile revision 653
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin###############################################################################
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Droid Fonts Makefile
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Use subject to license terms.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Permission is hereby granted, free of charge, to any person obtaining a
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# copy of this software and associated documentation files (the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# "Software"), to deal in the Software without restriction, including
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# without limitation the rights to use, copy, modify, merge, publish,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# distribute, and/or sell copies of the Software, and to permit persons
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# to whom the Software is furnished to do so, provided that the above
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# copyright notice(s) and this permission notice appear in all copies of
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# the Software and that both the above copyright notice(s) and this
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# permission notice appear in supporting documentation.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Except as contained in this notice, the name of a copyright holder
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# shall not be used in advertising or otherwise to promote the sale, use
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# or other dealings in this Software without prior written authorization
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# of the copyright holder.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# @(#)Makefile 1.1 09/02/26 SMI
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Package name used in tarballs
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Version number (used in path names)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Source tarball
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinSOURCE_TARBALL_NAME=$(MODULE_NAME)-$(MODULE_VERSION).tar.gz
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Directory created when unpacking tarball
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Download site for source
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinSOURCE_URL='http://android.git.kernel.org/?p=platform/frameworks/base.git;a=snapshot;h=b2fdf4096d6f8fc4aaca49bd804f480ba7892856;sf=tgz'
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Patches to apply to source after unpacking, in order
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# What to build
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# What to install
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# License file
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin### Include common rulesets
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin### Rules specific to this directory:
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinFONT_DEST_DIR=$(PROTODIR)$(X11_FONT_DIR)/TrueType/google-droid
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin ( cd $(SOURCE_DIR) ; cp -p $(DROID_FONT_FILES) $(FONT_DEST_DIR)/ )