]>
Commit | Line | Data |
---|---|---|
414f7202 KP |
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 | CONF_FILES = \ | |
469010c1 JC |
25 | 10-urw-aliases.conf \ |
26 | 15-amt-aliases.conf \ | |
27 | 20-fix-globaladvance.conf \ | |
28 | 30-unhint-small-vera.conf \ | |
29 | 50-user.conf \ | |
30 | 51-local.conf \ | |
31 | 60-LohitGujarati.conf \ | |
32 | 60-delicious.conf \ | |
33 | 60-fonts-persian.conf \ | |
34 | 70-no-sub-pixel.conf \ | |
35 | 70-sub-pixel-bgr.conf \ | |
36 | 70-sub-pixel-rgb.conf \ | |
37 | 70-sub-pixel-vbgr.conf \ | |
38 | 70-sub-pixel-vrgb.conf \ | |
39 | 73-autohint.conf \ | |
40 | 73-unhinted.conf \ | |
41 | 76-no-bitmaps.conf \ | |
42 | 76-yes-bitmaps.conf | |
414f7202 | 43 | |
9e292c88 KP |
44 | CONF_LINKS = \ |
45 | 10-urw-aliases.conf \ | |
46 | 15-amt-aliases.conf \ | |
47 | 20-fix-globaladvance.conf \ | |
48 | 30-unhint-small-vera.conf \ | |
49 | 50-user.conf \ | |
50 | 51-local.conf \ | |
51 | 60-LohitGujarati.conf \ | |
52 | 60-delicious.conf \ | |
53 | 60-fonts-persian.conf | |
54 | ||
414f7202 KP |
55 | EXTRA_DIST = $(CONF_FILES) |
56 | ||
57 | configdir=$(CONFDIR) | |
469010c1 | 58 | confavaildir=$(configdir)/conf.avail |
9e292c88 | 59 | confddir=$(configdir)/conf.d |
414f7202 | 60 | |
469010c1 | 61 | confavail_DATA=$(CONF_FILES) |
9e292c88 KP |
62 | |
63 | install-data-local: | |
64 | mkdir -p ${DESTDIR}${confddir} | |
65 | @(echo cd ${DESTDIR}${confddir}; \ | |
66 | cd ${DESTDIR}${confddir}; \ | |
67 | for i in ${CONF_LINKS}; do \ | |
68 | rm -f $$i; \ | |
69 | echo rm -f $$i";" ln -s ../conf.avail/$$i .; \ | |
70 | ln -s ../conf.avail/$$i .; \ | |
71 | done) |