summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorwlemb <wlemb>2000-10-24 19:02:53 +0000
committerwlemb <wlemb>2000-10-24 19:02:53 +0000
commit74ba9cf3ea88b7421451c94d5b3a5a27e265242b (patch)
treed8a6b6f7827fde53d105e531f24fd69e3f01f1fd /Makefile.in
parent981608bc9ba892ccae441db5eb7f57b946faf6d3 (diff)
downloadgroff-74ba9cf3ea88b7421451c94d5b3a5a27e265242b.tar.gz
Add local tmac directory (groff/site-tmac).
* Makefile.in: Add $(localtmacdir). (uninstall_dirs): Add $(localtmacdir). * Makefile.comm (.man.n): Add @LOCALMACRODIR@. * tmac/Makefile.sub (install_data, uninstall_sub): Handle man.local in $(localtmacdir). Create $(localtmacdir). * man/roff.man, src/roff/troff/troff.man, NEWS: Updated.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index bf1ffd3b..a296e338 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -100,8 +100,11 @@ fontpath=.:$(fontdir):/usr/lib/font
# tmacdir says where to install macros.
tmacdir=$(datasubdir)/tmac
+# localtmacdir says where local files will be installed
+localtmacdir=$(dataprogramdir)/site-tmac
+
# tmacpath says where to look for macro files.
-tmacpath=.:$(tmacdir)
+tmacpath=.:$(localtmacdir):$(tmacdir)
# sys_tmac_prefix is prefix (if any) for system macro packages
sys_tmac_prefix=@sys_tmac_prefix@
@@ -266,6 +269,7 @@ MDEFINES= \
"fontdir=$(fontdir)" \
"fontpath=$(fontpath)" \
"tmacdir=$(tmacdir)" \
+ "localtmacdir=$(localtmacdir)" \
"tmacpath=$(tmacpath)" \
"indexext=$(indexext)" \
"indexdir=$(indexdir)" \
@@ -523,7 +527,7 @@ uninstall: uninstall_sub uninstall_dirs
uninstall_dirs:
# Use rmdir here so that the directories are only removed if they're empty
-rmdir $(man1dir) $(man5dir) $(man7dir) $(manroot) \
- $(tmacdir) $(fontdir) $(bindir) \
+ $(tmacdir) $(localtmacdir) $(fontdir) $(bindir) \
$(datasubdir) $(dataprogramdir) $(datadir)