Makefile revision 355
d657c51f14601d0235434ffb78cf6ac0f27cc83cLennart Poettering###############################################################################
e57eaef8a187762ca92838c24b9b6460878a800cDavid Herrmann# Bitstream Vera Fonts Makefile
e57eaef8a187762ca92838c24b9b6460878a800cDavid Herrmann# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
e57eaef8a187762ca92838c24b9b6460878a800cDavid Herrmann# Use subject to license terms.
e57eaef8a187762ca92838c24b9b6460878a800cDavid Herrmann# Permission is hereby granted, free of charge, to any person obtaining a
e57eaef8a187762ca92838c24b9b6460878a800cDavid Herrmann# copy of this software and associated documentation files (the
01608bc86a104423d192364f9534b83d0c75db7fKay Sievers# "Software"), to deal in the Software without restriction, including
e57eaef8a187762ca92838c24b9b6460878a800cDavid Herrmann# without limitation the rights to use, copy, modify, merge, publish,
e57eaef8a187762ca92838c24b9b6460878a800cDavid Herrmann# distribute, and/or sell copies of the Software, and to permit persons
e57eaef8a187762ca92838c24b9b6460878a800cDavid Herrmann# to whom the Software is furnished to do so, provided that the above
e57eaef8a187762ca92838c24b9b6460878a800cDavid Herrmann# copyright notice(s) and this permission notice appear in all copies of
e57eaef8a187762ca92838c24b9b6460878a800cDavid Herrmann# the Software and that both the above copyright notice(s) and this
931618d08c64083ff7b29c494f482c40a5b05608Daniel Mack# permission notice appear in supporting documentation.
931618d08c64083ff7b29c494f482c40a5b05608Daniel Mack# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
37d54b938faeefd0a5a74f9197a33d78bbb8d6bfDaniel Mack# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
931618d08c64083ff7b29c494f482c40a5b05608Daniel Mack# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
931618d08c64083ff7b29c494f482c40a5b05608Daniel Mack# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
931618d08c64083ff7b29c494f482c40a5b05608Daniel Mack# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
931618d08c64083ff7b29c494f482c40a5b05608Daniel Mack# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
931618d08c64083ff7b29c494f482c40a5b05608Daniel Mack# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
931618d08c64083ff7b29c494f482c40a5b05608Daniel Mack# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
931618d08c64083ff7b29c494f482c40a5b05608Daniel Mack# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
931618d08c64083ff7b29c494f482c40a5b05608Daniel Mack# Except as contained in this notice, the name of a copyright holder
931618d08c64083ff7b29c494f482c40a5b05608Daniel Mack# shall not be used in advertising or otherwise to promote the sale, use
931618d08c64083ff7b29c494f482c40a5b05608Daniel Mack# or other dealings in this Software without prior written authorization
931618d08c64083ff7b29c494f482c40a5b05608Daniel Mack# of the copyright holder.
931618d08c64083ff7b29c494f482c40a5b05608Daniel Mack# @(#)Makefile 1.4 08/03/07
931618d08c64083ff7b29c494f482c40a5b05608Daniel Mack# Version number (used in path names)
f5f113f66692abaf72e83698cb7b4f3690b90cf8David Herrmann# Source tarball
f5f113f66692abaf72e83698cb7b4f3690b90cf8David HerrmannSOURCE_TARBALL_NAME=ttf-bitstream-vera-$(VERSION).tar.bz2
01608bc86a104423d192364f9534b83d0c75db7fKay Sievers# Download site for source
e57eaef8a187762ca92838c24b9b6460878a800cDavid HerrmannSOURCE_URL=http://ftp.gnome.org/pub/GNOME/sources/ttf-bitstream-vera/$(VERSION)/ttf-bitstream-vera-$(VERSION).tar.bz2
e57eaef8a187762ca92838c24b9b6460878a800cDavid Herrmann# Patches to apply to source after unpacking, in order
e57eaef8a187762ca92838c24b9b6460878a800cDavid Herrmann# Directory created by unpacking source
e57eaef8a187762ca92838c24b9b6460878a800cDavid HerrmannSOURCE_DIR=$(BUILD_DIR)/ttf-bitstream-vera-$(VERSION)
e57eaef8a187762ca92838c24b9b6460878a800cDavid Herrmann# What to build
e57eaef8a187762ca92838c24b9b6460878a800cDavid Herrmann# Directory to install to
e57eaef8a187762ca92838c24b9b6460878a800cDavid Herrmann# License file
e57eaef8a187762ca92838c24b9b6460878a800cDavid Herrmann### Include common rulesets
5541c88977e63215e74b7517fb33cb27e5a04f17David Herrmann### Rules specific to this directory:
9b361114f568e839784a3aeba5c1df5a95e86832Daniel Mack LD_LIBRARY_PATH=$(PROTODIR)$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR) \
9b361114f568e839784a3aeba5c1df5a95e86832Daniel Mack -( cd $(DEST_DIR) ; rm -f $(VERA_FONT_FILES) VeraFontsCopyright.txt )
9b361114f568e839784a3aeba5c1df5a95e86832Daniel Mack ( cd $(SOURCE_DIR) ; cp -p $(VERA_FONT_FILES) $(DEST_DIR) )
9b361114f568e839784a3aeba5c1df5a95e86832Daniel Mack cp -p $(SOURCE_DIR)/COPYRIGHT.TXT $(DEST_DIR)/VeraFontsCopyright.txt
0db83ad7334809a6605501e24bad55f3b652c072David Herrmann ../merge-fonts.scale.pl -i $(DEST_DIR)/fonts.scale \