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
|
From 8d089f72758f5abf62fe667cb6a7bef1b5d2e36b Mon Sep 17 00:00:00 2001
From: Colin Watson <cjwatson@debian.org>
Date: Thu, 2 Jan 2014 13:13:20 +0000
Subject: Allow adding a version-independent directory to the macro path
This allows us to put /usr/share/groff/tmac at the end of groff's macro
path in Debian.
This uses GNU-make-specific code, so it may not be forwardable in its
current state. A more upstreamable approach might be to add a --with-*
option to configure.
Forwarded: no
Last-Update: 2018-03-05
Patch-Name: extratmacdirs.patch
---
Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index f7ab4107e..c4d09b7be 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -207,7 +207,7 @@ localtmacdir=$(dataprogramdir)/site-tmac
# directory will be always added.
# `troffrc' and `troffrc-end' (and `eqnrc') are searched neither in the
# current nor in the home directory.
-tmacpath=$(systemtmacdir)$(RT_SEP)$(localtmacdir)$(RT_SEP)$(tmacdir)
+tmacpath=$(systemtmacdir)$(RT_SEP)$(localtmacdir)$(RT_SEP)$(tmacdir)$(if $(extratmacdirs),$(RT_SEP)$(extratmacdirs))
# sys_tmac_prefix
# `sys_tmac_prefix' is prefix (if any) for system macro packages.
|