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

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