[PATCH v3 2/2] newlib/libc/Makefile.inc: sed fix strftime.3 tbl/groff format issues
Brian Inglis
Brian.Inglis@Shaw.ca
Tue Feb 21 04:18:01 GMT 2023
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
More information about the Newlib
mailing list