[PATCH v2 2/2] newlib/libc/Makefile.inc: sed fix strftime.3 table format man, tbl, groff multi-page issues

Brian Inglis <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <d86156eee511946cddc22c389aadb49fb9c18555.1676738400.git.Brian.Inglis@Shaw.ca>
double "$"s in make lines
---
 newlib/libc/Makefile.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/newlib/libc/Makefile.inc b/newlib/libc/Makefile.inc
index d07eed7641ec..248d3051fa87 100644
--- a/newlib/libc/Makefile.inc
+++ b/newlib/libc/Makefile.inc
@@ -30,6 +30,7 @@ man: %C%_man.stamp
 
 %C%_install-man: %C%_man.stamp
 	$(MKDIR_P) $(DESTDIR)$(mandir)/man3
+	sed -i -e '/^\.TS$$/,/^\.TE$$/{/^\.PP$$\|^l\sl$$/d;/^l\sl\.$$/s,\.,x&,};/^\.TE$$/,/^\.TS$$/{/^\.sp\s1$$/d}' -- %D%/strftime.3
 	$(INSTALL_DATA) %D%/*.3 $(DESTDIR)$(mandir)/man3/
 install-man: %C%_install-man
 
-- 
2.39.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.