From 4b4f42ab58714fda3214fcb4f3c9e566ebd25100 Mon Sep 17 00:00:00 2001 From: Noah Levitt Date: Wed, 23 Apr 2003 00:08:03 +0000 Subject: [PATCH] Getting closer to fixing /etc/fonts hard-coding. --- configure.in | 1 - doc/Makefile.am | 4 ++++ doc/confdir.sgml.in | 25 +++++++++++++++++++++++++ 3 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 doc/confdir.sgml.in diff --git a/configure.in b/configure.in index d06058a..3453bae 100644 --- a/configure.in +++ b/configure.in @@ -363,7 +363,6 @@ fc-cache/Makefile fc-list/Makefile doc/Makefile doc/version.sgml -doc/confdir.sgml test/Makefile fontconfig.spec fontconfig.pc diff --git a/doc/Makefile.am b/doc/Makefile.am index f501810..f22163a 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -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: diff --git a/doc/confdir.sgml.in b/doc/confdir.sgml.in new file mode 100644 index 0000000..1f891fd --- /dev/null +++ b/doc/confdir.sgml.in @@ -0,0 +1,25 @@ + + +@SYSCONFDIR@/fonts