Blame SOURCES/0002-load-site-font-and-site-tmac-from-etc-groff.patch

ce9878
From c6d8bb3e0ebc03274564d7b2c768e9932cc5f79d Mon Sep 17 00:00:00 2001
ce9878
From: Jan Vcelak <jvcelak@redhat.com>
ce9878
Date: Tue, 1 Jan 2013 15:33:45 +0100
ce9878
Subject: [PATCH] load site-font and site-tmac from /etc/groff
ce9878
ce9878
Move site-font and site-tmac configuration from /usr/share/groff to
ce9878
/etc/groff. That allows permanent custom changes. (Symlinking brought
ce9878
a lot of problems with RPM. This is safer and cleaner.)
ce9878
ce9878
Signed-off-by: Jan Vcelak <jvcelak@redhat.com>
ce9878
---
ce9878
 Makefile.in | 6 +++---
ce9878
 1 file changed, 3 insertions(+), 3 deletions(-)
ce9878
ce9878
diff --git a/Makefile.in b/Makefile.in
ce9878
index 7534e56..d97d1b9 100644
ce9878
--- a/Makefile.in
ce9878
+++ b/Makefile.in
ce9878
@@ -167,7 +167,7 @@ fontdir=$(datasubdir)/font
ce9878
 oldfontdir=$(datasubdir)/oldfont
ce9878
 
ce9878
 # `localfontdir' says where local fonts will be installed (as dev*/*).
ce9878
-localfontdir=$(dataprogramdir)/site-font
ce9878
+localfontdir=@sysconfdir@/groff/site-font
ce9878
 
ce9878
 # `legacyfontdir' is for compatibility with non-GNU troff.
ce9878
 legacyfontdir=/usr/lib/font
ce9878
@@ -179,10 +179,10 @@ fontpath=$(localfontdir)$(RT_SEP)$(fontdir)$(RT_SEP)$(legacyfontdir)
ce9878
 tmacdir=$(datasubdir)/tmac
ce9878
 
ce9878
 # `systemtmacdir' says where to install platform-dependent macros.
ce9878
-systemtmacdir=$(libprogramdir)/site-tmac
ce9878
+systemtmacdir=@sysconfdir@/groff/site-tmac
ce9878
 
ce9878
 # `localtmacdir' says where local files will be installed.
ce9878
-localtmacdir=$(dataprogramdir)/site-tmac
ce9878
+localtmacdir=@sysconfdir@/groff/site-tmac
ce9878
 
ce9878
 # `appresdir' says where to install the application resource file for
ce9878
 # gxditview.
ce9878
-- 
ce9878
1.8.0.2
ce9878