]> git.wh0rd.org - fontconfig.git/commitdiff
Make conf.avail and conf.d work
authorJames Cloos <cloos@lugabout.jhcloos.org>
Sat, 9 Sep 2006 05:24:08 +0000 (01:24 -0400)
committerJames Cloos <cloos@lugabout.jhcloos.org>
Sat, 9 Sep 2006 05:24:08 +0000 (01:24 -0400)
Add conf.avail to configure.in

Add install: target to conf.d/Makefile.am to
create the initial symlinks to conf.avail

conf.d/Makefile.am [new file with mode: 0644]
configure.in

diff --git a/conf.d/Makefile.am b/conf.d/Makefile.am
new file mode 100644 (file)
index 0000000..85d7135
--- /dev/null
@@ -0,0 +1,52 @@
+# 
+#  $Id$
+# 
+#  Copyright © 2005 Keith Packard
+# 
+#  Permission to use, copy, modify, distribute, and sell this software and its
+#  documentation for any purpose is hereby granted without fee, provided that
+#  the above copyright notice appear in all copies and that both that
+#  copyright notice and this permission notice appear in supporting
+#  documentation, and that the name of Keith Packard not be used in
+#  advertising or publicity pertaining to distribution of the software without
+#  specific, written prior permission.  Keith Packard makes no
+#  representations about the suitability of this software for any purpose.  It
+#  is provided "as is" without express or implied warranty.
+# 
+#  KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
+#  INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
+#  EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
+#  CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
+#  DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
+#  TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+#  PERFORMANCE OF THIS SOFTWARE.
+
+CONF_LINKS = \
+       10-urw-aliases.conf \
+       15-amt-aliases.conf \
+       20-fix-globaladvance.conf \
+       30-unhint-small-vera.conf \
+       50-user.conf \
+       51-local.conf \
+       60-LohitGujarati.conf \
+       60-delicious.conf \
+       60-fonts-persian.conf
+
+EXTRA_DIST = $(CONF_LINKS)
+
+configdir=$(CONFDIR)
+confddir=$(configdir)/conf.d
+
+install:
+       mkdir -p ${DESTDIR}/${confddir}
+       ln -s ../conf.avail/10-urw-aliases.conf ${DESTDIR}/${confddir}
+       ln -s ../conf.avail/15-amt-aliases.conf ${DESTDIR}/${confddir}
+       ln -s ../conf.avail/20-fix-globaladvance.conf ${DESTDIR}/${confddir}
+       ln -s ../conf.avail/30-unhint-small-vera.conf ${DESTDIR}/${confddir}
+       ln -s ../conf.avail/50-user.conf ${DESTDIR}/${confddir}
+       ln -s ../conf.avail/51-local.conf ${DESTDIR}/${confddir}
+       ln -s ../conf.avail/60-LohitGujarati.conf ${DESTDIR}/${confddir}
+       ln -s ../conf.avail/60-delicious.conf ${DESTDIR}/${confddir}
+       ln -s ../conf.avail/60-fonts-persian.conf ${DESTDIR}/${confddir}
+
+
index e8e10622cabc425f93b37024efb66ca2e2083522..5a6309da571971e0a59e923c6cffc86e8d39aaf1 100644 (file)
@@ -560,6 +560,7 @@ fc-case/Makefile
 fc-arch/Makefile
 src/Makefile
 src/fontconfig.def
+conf.avail/Makefile
 conf.d/Makefile
 fc-cache/Makefile
 fc-cat/Makefile