Makefile.am revision a32e9e42
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 24BUILT_SOURCES = README 25DOC_SOURCES = README.in 26DOC_FILES = $(DOC_SOURCES:.in=) 27 28CONF_LINKS = \ 29 10-hinting-$(PREFERRED_HINTING).conf \ 30 10-scale-bitmap-fonts.conf \ 31 20-unhint-small-vera.conf \ 32 30-metric-aliases.conf \ 33 40-nonlatin.conf \ 34 45-generic.conf \ 35 45-latin.conf \ 36 49-sansserif.conf \ 37 50-user.conf \ 38 51-local.conf \ 39 60-generic.conf \ 40 60-latin.conf \ 41 65-fonts-persian.conf \ 42 65-nonlatin.conf \ 43 69-unifont.conf \ 44 80-delicious.conf \ 45 90-synthetic.conf 46 47EXTRA_DIST = $(template_DATA) $(DOC_SOURCES) 48CLEANFILES = $(DOC_FILES) 49 50configdir = $(CONFIGDIR) 51config_DATA = $(DOC_FILES) 52 53templatedir = $(TEMPLATEDIR) 54template_DATA = \ 55 10-autohint.conf \ 56 10-hinting-full.conf \ 57 10-hinting-medium.conf \ 58 10-hinting-none.conf \ 59 10-hinting-slight.conf \ 60 10-no-sub-pixel.conf \ 61 10-scale-bitmap-fonts.conf \ 62 10-sub-pixel-bgr.conf \ 63 10-sub-pixel-rgb.conf \ 64 10-sub-pixel-vbgr.conf \ 65 10-sub-pixel-vrgb.conf \ 66 10-unhinted.conf \ 67 11-lcdfilter-default.conf \ 68 11-lcdfilter-legacy.conf \ 69 11-lcdfilter-light.conf \ 70 20-unhint-small-vera.conf \ 71 25-unhint-nonlatin.conf \ 72 30-metric-aliases.conf \ 73 40-nonlatin.conf \ 74 45-generic.conf \ 75 45-latin.conf \ 76 49-sansserif.conf \ 77 50-user.conf \ 78 51-local.conf \ 79 60-generic.conf \ 80 60-latin.conf \ 81 65-fonts-persian.conf \ 82 65-khmer.conf \ 83 65-nonlatin.conf \ 84 69-unifont.conf \ 85 70-no-bitmaps.conf \ 86 70-yes-bitmaps.conf \ 87 80-delicious.conf \ 88 90-synthetic.conf 89 90README: $(srcdir)/README.in 91 sed "s|\@TEMPLATEDIR\@|$(templatedir)|" $< > $@ 92 93install-data-hook: 94 mkdir -p $(DESTDIR)$(configdir) 95 @(echo cd $(DESTDIR)$(configdir); \ 96 cd $(DESTDIR)$(configdir); \ 97 for i in $(CONF_LINKS); do \ 98 echo $(RM) $$i";" ln -s $(templatedir)/$$i .; \ 99 $(RM) $$i; \ 100 ln -s $(templatedir)/$$i .; \ 101 done) 102uninstall-local: 103 @(echo cd $(DESTDIR)$(configdir); \ 104 cd $(DESTDIR)$(configdir); \ 105 for i in $(CONF_LINKS); do \ 106 echo $(RM) $$i; \ 107 $(RM) $$i; \ 108 done) 109 110-include $(top_srcdir)/git.mk 111