Blob Blame History Raw
From c6d8bb3e0ebc03274564d7b2c768e9932cc5f79d Mon Sep 17 00:00:00 2001
From: Jan Vcelak <jvcelak@redhat.com>
Date: Tue, 1 Jan 2013 15:33:45 +0100
Subject: [PATCH] load site-font and site-tmac from /etc/groff

Move site-font and site-tmac configuration from /usr/share/groff to
/etc/groff. That allows permanent custom changes. (Symlinking brought
a lot of problems with RPM. This is safer and cleaner.)

Signed-off-by: Jan Vcelak <jvcelak@redhat.com>
---
 Makefile.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index 7534e56..d97d1b9 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -167,7 +167,7 @@ fontdir=$(datasubdir)/font
 oldfontdir=$(datasubdir)/oldfont
 
 # `localfontdir' says where local fonts will be installed (as dev*/*).
-localfontdir=$(dataprogramdir)/site-font
+localfontdir=@sysconfdir@/groff/site-font
 
 # `legacyfontdir' is for compatibility with non-GNU troff.
 legacyfontdir=/usr/lib/font
@@ -179,10 +179,10 @@ fontpath=$(localfontdir)$(RT_SEP)$(fontdir)$(RT_SEP)$(legacyfontdir)
 tmacdir=$(datasubdir)/tmac
 
 # `systemtmacdir' says where to install platform-dependent macros.
-systemtmacdir=$(libprogramdir)/site-tmac
+systemtmacdir=@sysconfdir@/groff/site-tmac
 
 # `localtmacdir' says where local files will be installed.
-localtmacdir=$(dataprogramdir)/site-tmac
+localtmacdir=@sysconfdir@/groff/site-tmac
 
 # `appresdir' says where to install the application resource file for
 # gxditview.
-- 
1.8.0.2