Git init
[framework/graphics/fontconfig.git] / conf.d / Makefile.am
1
2 #  $Id$
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 Keith Packard not be used in
11 #  advertising or publicity pertaining to distribution of the software without
12 #  specific, written prior permission.  Keith Packard makes 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 #  KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
17 #  INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
18 #  EVENT SHALL KEITH PACKARD 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
24 DOC_FILES= \
25         README
26
27 CONF_FILES = \
28         10-autohint.conf \
29         10-no-sub-pixel.conf \
30         10-sub-pixel-bgr.conf \
31         10-sub-pixel-rgb.conf \
32         10-sub-pixel-vbgr.conf \
33         10-sub-pixel-vrgb.conf \
34         10-unhinted.conf \
35         20-fix-globaladvance.conf \
36         20-unhint-small-vera.conf \
37         25-unhint-nonlatin.conf \
38         30-urw-aliases.conf \
39         30-metric-aliases.conf \
40         40-nonlatin.conf \
41         45-latin.conf \
42         49-sansserif.conf \
43         50-user.conf \
44         51-local.conf \
45         60-latin.conf \
46         65-fonts-persian.conf \
47         65-khmer.conf \
48         65-nonlatin.conf \
49         69-unifont.conf \
50         70-no-bitmaps.conf \
51         70-yes-bitmaps.conf \
52         80-delicious.conf \
53         90-synthetic.conf
54
55 CONF_LINKS = \
56         20-fix-globaladvance.conf \
57         20-unhint-small-vera.conf \
58         30-urw-aliases.conf \
59         30-metric-aliases.conf \
60         40-nonlatin.conf \
61         45-latin.conf \
62         49-sansserif.conf \
63         50-user.conf \
64         51-local.conf \
65         60-latin.conf \
66         65-fonts-persian.conf \
67         65-nonlatin.conf \
68         69-unifont.conf \
69         80-delicious.conf \
70         90-synthetic.conf
71
72 EXTRA_DIST = $(CONF_FILES) $(DOC_FILES)
73
74 configdir=$(CONFDIR)
75 confavaildir=$(configdir)/conf.avail
76 confddir=$(configdir)/conf.d
77
78 confavail_DATA=$(CONF_FILES)
79 confd_DATA=$(DOC_FILES)
80
81 install-data-local:
82         mkdir -p ${DESTDIR}${confddir}
83         @(echo cd ${DESTDIR}${confddir}; \
84          cd ${DESTDIR}${confddir}; \
85          for i in ${CONF_LINKS}; do \
86                 rm -f $$i; \
87                 echo rm -f $$i";" ln -s ../conf.avail/$$i .; \
88                 ln -s ../conf.avail/$$i .; \
89          done)