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