Makefile revision 851
43b4c41fbb07705c9df321221ab9cb9832460407Christian Maeder###############################################################################
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder# Deja Vu Fonts Makefile
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# Use is subject to license terms.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# Permission is hereby granted, free of charge, to any person obtaining a
43b4c41fbb07705c9df321221ab9cb9832460407Christian Maeder# copy of this software and associated documentation files (the
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# "Software"), to deal in the Software without restriction, including
f4a2a20e49f41b2afa657e5e64d9e349c7faa091Christian Maeder# without limitation the rights to use, copy, modify, merge, publish,
f2f9df2e17e70674f0bf426ed1763c973ee4cde0Christian Maeder# distribute, and/or sell copies of the Software, and to permit persons
c9a7e6af169a2adfb92f42331cd578065ed83a2bChristian Maeder# to whom the Software is furnished to do so, provided that the above
c9a7e6af169a2adfb92f42331cd578065ed83a2bChristian Maeder# copyright notice(s) and this permission notice appear in all copies of
e7757995211bd395dc79d26fe017d99375f7d2a6Christian Maeder# the Software and that both the above copyright notice(s) and this
e7757995211bd395dc79d26fe017d99375f7d2a6Christian Maeder# permission notice appear in supporting documentation.
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
a1ed34933c266ce85066acb0d7b20c90cb8eb213Christian Maeder# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
c0c2380bced8159ff0297ece14eba948bd236471Christian Maeder# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
404166b9366552e9ec5abb87a37c76ec8a815fb7Klaus Luettich# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
b1f59a4ea7c96f4c03a4d7cfcb9c5e66871cfbbbChristian Maeder# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
ad270004874ce1d0697fb30d7309f180553bb315Christian Maeder# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
4d56f2fa72e4aec20eb827c11ed49c8cbb7014bdChristian Maeder# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
4cb215739e9ab13447fa21162482ebe485b47455Christian Maeder# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
8ef75f1cc0437656bf622cec5ac9e8ea221da8f2Christian Maeder# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder# Except as contained in this notice, the name of a copyright holder
74eed04be26f549d2f7ca35c370e1c03879b28b1Christian Maeder# shall not be used in advertising or otherwise to promote the sale, use
d23b0cc79c0d204e6ec758dff8d0ba71c9f693f7Christian Maeder# or other dealings in this Software without prior written authorization
3e8b136f23ed57d40ee617f49bcac37830b58cabChristian Maeder# of the copyright holder.
bab2d88d650448628730ed3b65c9f99c52500e8cChristian Maeder# ident "@(#)Makefile 1.13 09/12/05 SMI"
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder# Package name used in tarballs
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# Version number (used in path names)
f4a2a20e49f41b2afa657e5e64d9e349c7faa091Christian Maeder# Download site for source
f4a2a20e49f41b2afa657e5e64d9e349c7faa091Christian MaederSOURCE_URL=$(SF_DOWNLOADS_URL)/dejavu/$(SOURCE_TARBALL_NAME)
1cd4f6541984962658add5cfaa9f28a93879881bChristian Maeder# Patches to apply to source after unpacking, in order
8b767d09a78927b111f5596fdff9ca7d2c1a439fChristian Maeder# What to install
8b767d09a78927b111f5596fdff9ca7d2c1a439fChristian MaederMODULE_ADD_INSTALL_TARGETS=install_fonts_conf
8b767d09a78927b111f5596fdff9ca7d2c1a439fChristian Maeder# Directory to install to
bab2d88d650448628730ed3b65c9f99c52500e8cChristian Maeder# License file
4ba08bfca0cc8d9da65397b8dfd2654fdb4c0e62Christian Maeder### Include common rulesets
f1541d4a151dbd08002dbd14e7eb1d5dde253689Christian Maeder### Rules specific to this directory:
6dc9bc98d0854fe2e3dd3bfc4275096a0c28ee1cChristian Maeder @( cd $(SOURCE_DIR)/fontconfig ; $(START_CMD_ECHO) ; \
6dc9bc98d0854fe2e3dd3bfc4275096a0c28ee1cChristian Maeder for f in *.conf ; do \
23ffcc44ca8612feccbd8fda63fa5be7ab5f9dc3Christian Maeder rm -f $(FONTCONF_DEST_DIR)/conf.avail/$$f \
c0c2380bced8159ff0297ece14eba948bd236471Christian Maeder cp -p $$f $(FONTCONF_DEST_DIR)/conf.avail/ ; \