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

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