diff --git a/doc/Makefile.am b/doc/Makefile.am index f22163a..6a9d782 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -135,8 +135,9 @@ fontconfig-user.html: fontconfig-user.sgml version.sgml confdir.sgml fontconfig-user.txt: fontconfig-user.sgml version.sgml confdir.sgml +STRIPNL=awk '{ if (NR > 1) printf ("\n"); printf ("%s", $$0); }' confdir.sgml: confdir.sgml.in - sed "s,@SYSCONFDIR@,${sysconfdir}," < confdir.sgml.in > confdir.sgml + sed "s,@CONFDIR\@,${CONFDIR}," < confdir.sgml.in | $(STRIPNL) > confdir.sgml else all-local: diff --git a/doc/confdir.sgml.in b/doc/confdir.sgml.in index 875c7dc..d190d0c 100644 --- a/doc/confdir.sgml.in +++ b/doc/confdir.sgml.in @@ -22,4 +22,4 @@ PERFORMANCE OF THIS SOFTWARE. --> -@SYSCONFDIR@/fonts \ No newline at end of file +@CONFDIR@