]> git.wh0rd.org Git - fontconfig.git/commitdiff
Use CONFDIR instead of SYSCONFDIR/fonts in manual. Use awk to strip
authorKeith Packard <keithp@keithp.com>
Wed, 23 Apr 2003 04:05:58 +0000 (04:05 +0000)
committerKeith Packard <keithp@keithp.com>
Wed, 23 Apr 2003 04:05:58 +0000 (04:05 +0000)
    trailing newline instead of leaving CVS file without a newline (which
    will break at some point)

doc/Makefile.am
doc/confdir.sgml.in

index f22163a856dfc0c7f718e6588d37de51be995dd2..6a9d782762e5e009f7c587fd72c9ec4720346a8c 100644 (file)
@@ -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:
index 875c7dc14631ba75092502a3fee801bcfeb4c3a6..d190d0c9df1b17d059b46883dc078e65d421cf74 100644 (file)
@@ -22,4 +22,4 @@
    PERFORMANCE OF THIS SOFTWARE.
 -->
 <!-- this is filled in at make time -->
-@SYSCONFDIR@/fonts
\ No newline at end of file
+@CONFDIR@