Makefile.am revision ca08ab68
1# 2# fontconfig/conf.d/Makefile.am 3# 4# Copyright © 2005 Keith Packard 5# 6# Permission to use, copy, modify, distribute, and sell this software and its 7# documentation for any purpose is hereby granted without fee, provided that 8# the above copyright notice appear in all copies and that both that 9# copyright notice and this permission notice appear in supporting 10# documentation, and that the name of the author(s) not be used in 11# advertising or publicity pertaining to distribution of the software without 12# specific, written prior permission. The authors make no 13# representations about the suitability of this software for any purpose. It 14# is provided "as is" without express or implied warranty. 15# 16# THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 17# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 18# EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR 19# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 20# DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 21# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 22# PERFORMANCE OF THIS SOFTWARE. 23 24DOC_FILES= \ 25 README 26 27CONF_LINKS = \ 28 20-unhint-small-vera.conf \ 29 30-urw-aliases.conf \ 30 30-metric-aliases.conf \ 31 40-nonlatin.conf \ 32 45-latin.conf \ 33 49-sansserif.conf \ 34 50-user.conf \ 35 51-local.conf \ 36 60-latin.conf \ 37 65-fonts-persian.conf \ 38 65-nonlatin.conf \ 39 69-unifont.conf \ 40 80-delicious.conf \ 41 90-synthetic.conf 42 43EXTRA_DIST = $(template_DATA) $(DOC_FILES) 44 45configdir=$(CONFIGDIR) 46config_DATA = $(DOC_FILES) 47 48templatedir = $(TEMPLATEDIR) 49template_DATA = \ 50 10-autohint.conf \ 51 10-no-sub-pixel.conf \ 52 10-sub-pixel-bgr.conf \ 53 10-sub-pixel-rgb.conf \ 54 10-sub-pixel-vbgr.conf \ 55 10-sub-pixel-vrgb.conf \ 56 10-unhinted.conf \ 57 11-lcdfilter-default.conf \ 58 11-lcdfilter-legacy.conf \ 59 11-lcdfilter-light.conf \ 60 20-unhint-small-vera.conf \ 61 25-unhint-nonlatin.conf \ 62 30-urw-aliases.conf \ 63 30-metric-aliases.conf \ 64 40-nonlatin.conf \ 65 45-latin.conf \ 66 49-sansserif.conf \ 67 50-user.conf \ 68 51-local.conf \ 69 60-latin.conf \ 70 65-fonts-persian.conf \ 71 65-khmer.conf \ 72 65-nonlatin.conf \ 73 69-unifont.conf \ 74 70-no-bitmaps.conf \ 75 70-yes-bitmaps.conf \ 76 80-delicious.conf \ 77 90-synthetic.conf 78 79install-data-hook: 80 mkdir -p $(DESTDIR)$(configdir) 81 @(echo cd $(DESTDIR)$(configdir); \ 82 cd $(DESTDIR)$(configdir); \ 83 for i in $(CONF_LINKS); do \ 84 echo $(RM) $$i";" ln -s $(templatedir)/$$i .; \ 85 $(RM) $$i; \ 86 ln -s $(templatedir)/$$i .; \ 87 done) 88uninstall-local: 89 @(echo cd $(DESTDIR)$(configdir); \ 90 cd $(DESTDIR)$(configdir); \ 91 for i in $(CONF_LINKS); do \ 92 echo $(RM) $$i; \ 93 $(RM) $$i; \ 94 done) 95