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