[PATCH v3 2/2] newlib/libc/Makefile.inc: sed fix strftime.3 tbl/groff format issues

Brian Inglis <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
remove multiple "^l l$" tbl line formats at tops of tables;
change remaining "^l l\.$" tbl line formats at tops of tables so second
column is lx and extends to margin;
remove "^.PP$" breaks before each format description as it misaligns
text below format specifier;
remove blank line between adjacent tables

---
 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.