diff options
author | wlemb <wlemb> | 2001-03-24 17:34:47 +0000 |
---|---|---|
committer | wlemb <wlemb> | 2001-03-24 17:34:47 +0000 |
commit | d56cd7e8ed05883e248c2947481cdc2bbce5aa2a (patch) | |
tree | 4e86c0bc5779260f458a4802f6b865283114e36b /tmac | |
parent | bb7f02eaa4aff2763e0869da3b32722aa2042d2b (diff) | |
download | groff-d56cd7e8ed05883e248c2947481cdc2bbce5aa2a.tar.gz |
* tmac/Makefile.sub: Strip mdoc.local also
* tmac/strip.sed: Fixed.
Diffstat (limited to 'tmac')
-rw-r--r-- | tmac/Makefile.sub | 8 | ||||
-rw-r--r-- | tmac/strip.sed | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/tmac/Makefile.sub b/tmac/Makefile.sub index 6bd541d0..edaee6fe 100644 --- a/tmac/Makefile.sub +++ b/tmac/Makefile.sub @@ -39,7 +39,7 @@ sys_tmac_prefix= all: stamp-strip stamp-wrap stamp-sed -install_data: $(NORMALFILES) $(SPECIALFILES) man.local mdoc.local \ +install_data: $(NORMALFILES) $(SPECIALFILES) man.local \ stamp-strip stamp-wrap stamp-sed -test -d $(tmacdir) || $(mkinstalldirs) $(tmacdir) -test -d $(systemtmacdir) || $(mkinstalldirs) $(systemtmacdir) @@ -73,10 +73,10 @@ install_data: $(NORMALFILES) $(SPECIALFILES) man.local mdoc.local \ -test -f $(localtmacdir)/man.local || \ $(INSTALL_DATA) $(srcdir)/man.local $(localtmacdir)/man.local -test -f $(localtmacdir)/mdoc.local || \ - $(INSTALL_DATA) $(srcdir)/mdoc.local $(localtmacdir)/mdoc.local + $(INSTALL_DATA) $(srcdir)/mdoc.local-s $(localtmacdir)/mdoc.local -stamp-strip: $(STRIPFILES) $(MDOCFILES) - for f in $(STRIPFILES) $(MDOCFILES); do \ +stamp-strip: $(STRIPFILES) $(MDOCFILES) mdoc.local + for f in $(STRIPFILES) $(MDOCFILES) mdoc.local; do \ rm -f $$f-s; \ sed -f $(srcdir)/strip.sed $(srcdir)/$$f >$$f-s; \ done diff --git a/tmac/strip.sed b/tmac/strip.sed index 6133411d..069c3db1 100644 --- a/tmac/strip.sed +++ b/tmac/strip.sed @@ -3,8 +3,8 @@ s/^\.[ ]*/./ s/^\.\\".*/./ s/\\".*/\\"/ - /\(.ds\)\|\(.as\)/!s/[ ]*\\"// - /\(.ds\)\|\(.as\)/s/\([^ ]\)\\"/\1/ + /\(.[ad]s\)/!s/[ ]*\\"// + /\(.[ad]s\)/s/\([^ ]*\)\\"/\1/ s/\([^/]\)doc-/\1/g } /^\.$/d |