diff options
author | wlemb <wlemb> | 2000-10-24 19:02:53 +0000 |
---|---|---|
committer | wlemb <wlemb> | 2000-10-24 19:02:53 +0000 |
commit | 74ba9cf3ea88b7421451c94d5b3a5a27e265242b (patch) | |
tree | d8a6b6f7827fde53d105e531f24fd69e3f01f1fd /tmac/Makefile.sub | |
parent | 981608bc9ba892ccae441db5eb7f57b946faf6d3 (diff) | |
download | groff-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 'tmac/Makefile.sub')
-rw-r--r-- | tmac/Makefile.sub | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tmac/Makefile.sub b/tmac/Makefile.sub index 0a67ef12..03ad5846 100644 --- a/tmac/Makefile.sub +++ b/tmac/Makefile.sub @@ -32,6 +32,7 @@ all: stamp-strip stamp-wrap stamp-sed install_data: $(NORMALFILES) $(SPECIALFILES) \ stamp-wrap stamp-strip stamp-sed man.local -test -d $(tmacdir) || $(mkinstalldirs) $(tmacdir) + -test -d $(localtmacdir) || $(mkinstalldirs) $(localtmacdir) if test -n "$(tmac_wrap)"; then \ for m in ""$(tmac_wrap); do \ $(INSTALL_DATA) $$m-wrap $(tmacdir)/tmac.$$m; \ @@ -58,8 +59,8 @@ install_data: $(NORMALFILES) $(SPECIALFILES) \ rm -f $(mdocdir)/$$f; \ $(INSTALL_DATA) $$f-s $(mdocdir)/$$f; \ done - -test -f $(tmacdir)/man.local || \ - $(INSTALL_DATA) $(srcdir)/man.local $(tmacdir)/man.local + -test -f $(localtmacdir)/man.local || \ + $(INSTALL_DATA) $(srcdir)/man.local $(localtmacdir)/man.local -rm -f temp stamp-strip: $(STRIPFILES) $(MDOCFILES) @@ -101,8 +102,8 @@ uninstall_sub: -rm -f $(tmacdir)/tmac.$(tmac_s_prefix)s -rm -f $(tmacdir)/tmac.$(tmac_an_prefix)an -rm -f $(tmacdir)/tmac.man $(tmacdir)/tmac.ms - -if cmp -s $(tmacdir)/man.local $(srcdir)/man.local; then \ - rm -f $(tmacdir)/man.local; \ + -if cmp -s $(localtmacdir)/man.local $(srcdir)/man.local; then \ + rm -f $(localtmacdir)/man.local; \ fi -for f in $(MDOCFILES); do rm -f $(mdocdir)/$$f; done -rmdir $(mdocdir) |