From: Noah Levitt Date: Wed, 23 Apr 2003 00:08:03 +0000 (+0000) Subject: Getting closer to fixing /etc/fonts hard-coding. X-Git-Tag: fc-2_2_90~35 X-Git-Url: https://git.wh0rd.org/?p=fontconfig.git;a=commitdiff_plain;h=4b4f42ab58714fda3214fcb4f3c9e566ebd25100 Getting closer to fixing /etc/fonts hard-coding. --- 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