Getting closer to fixing /etc/fonts hard-coding.

This commit is contained in:
Noah Levitt 2003-04-23 00:08:03 +00:00
parent 27de1f430a
commit 4b4f42ab58
3 changed files with 29 additions and 1 deletions

View File

@ -363,7 +363,6 @@ fc-cache/Makefile
fc-list/Makefile
doc/Makefile
doc/version.sgml
doc/confdir.sgml
test/Makefile
fontconfig.spec
fontconfig.pc

View File

@ -134,6 +134,10 @@ fontconfig-user.html: fontconfig-user.sgml version.sgml confdir.sgml
$(DOC2HTML) -u fontconfig-user.sgml
fontconfig-user.txt: fontconfig-user.sgml version.sgml confdir.sgml
confdir.sgml: confdir.sgml.in
sed "s,@SYSCONFDIR@,${sysconfdir}," < confdir.sgml.in > confdir.sgml
else
all-local:
clean-local:

25
doc/confdir.sgml.in Normal file
View File

@ -0,0 +1,25 @@
<!--
$Id$
Copyright © 2003 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.
-->
<!-- this is filled in at make time -->
@SYSCONFDIR@/fonts