summaryrefslogtreecommitdiffstats
path: root/groff-config-etc.patch
blob: bf299a78691e3e3561f126e17c330241359ad6f1 (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
Move site-font and site-tmac configuration from /usr/share/groff to /etc/groff
(Symlinking brought a lot of problems with RPM. This is safer and cleaner.)

Author: Jan Vcelak <jvcelak@redhat.com>

diff -uNPrp a/Makefile.in b/Makefile.in
--- 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)$(fontd
 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.