[openwrt/openwrt] ncurses: split long line of supported terminfo

LEDE Commits lede-commits at lists.infradead.org
Thu Oct 21 14:05:11 PDT 2021


aparcar pushed a commit to openwrt/openwrt.git, branch openwrt-21.02:
https://git.openwrt.org/df9ca413229e4059fd6f7853dd554415c37f995b

commit df9ca413229e4059fd6f7853dd554415c37f995b
Author: Paul Spooren <mail at aparcar.org>
AuthorDate: Sun Mar 28 22:21:49 2021 -1000

    ncurses: split long line of supported terminfo
    
    The terminfo files were all in one row which is terrible to read.
    Split them over multiple lines to improve readability.
    
    Signed-off-by: Paul Spooren <mail at aparcar.org>
    (cherry picked from commit 75ea474b9002c758e9a23023f7636258a467704c)
---
 package/libs/ncurses/Makefile | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/package/libs/ncurses/Makefile b/package/libs/ncurses/Makefile
index cc1e960a0c..b42f23fa85 100644
--- a/package/libs/ncurses/Makefile
+++ b/package/libs/ncurses/Makefile
@@ -120,7 +120,18 @@ ifneq ($(HOST_OS),FreeBSD)
 			mv $$$$dir $$$$(echo -ne "\x$$$$dir"); \
 		done \
 	)
-	for file in a/ansi d/dumb l/linux r/rxvt r/rxvt-unicode s/screen v/vt100 v/vt102 x/xterm x/xterm-color x/xterm-256color; do \
+	for file in \
+		a/ansi \
+		d/dumb \
+		l/linux \
+		r/rxvt \
+		r/rxvt-unicode \
+		s/screen \
+		v/vt100 \
+		v/vt102 \
+		x/xterm \
+		x/xterm-color \
+		x/xterm-256color; do \
 		$(INSTALL_DIR) $(1)/usr/share/terminfo/`dirname $$$$file`; \
 		$(CP) $(PKG_INSTALL_DIR)/usr/share/terminfo/$$$$file \
 			$(1)/usr/share/terminfo/$$$$file; \



More information about the lede-commits mailing list