summaryrefslogtreecommitdiffstats
path: root/0002-load-site-font-and-site-tmac-from-etc-groff.patch
blob: 163f784ffcccd96db4b6f9b7df610a3789d28fd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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