[hackers] [st][PATCH] "make install" installs terminfo files in $PREFIX/share/terminfo

From: Dugan Chen <thedoogster_AT_gmail.com>
Date: Thu, 23 Jun 2016 07:12:19 -0700

---
 Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 6158ab2..a9b16aa 100644
--- a/Makefile
+++ b/Makefile
_AT_@ -49,7 +49,8 @@ install: all
 	_AT_sed "s/VERSION/${VERSION}/g" < st.1 > ${DESTDIR}${MANPREFIX}/man1/st.1
 	_AT_chmod 644 ${DESTDIR}${MANPREFIX}/man1/st.1
 	_AT_echo Please see the README file regarding the terminfo entry of st.
-	_AT_tic -s st.info
+	_AT_mkdir -p ${DESTDIR}/${PREFIX}/share/terminfo
+	_AT_tic -o ${DESTDIR}/${PREFIX}/share/terminfo -s doc/st.info 
 
 uninstall:
 	_AT_echo removing executable file from ${DESTDIR}${PREFIX}/bin
-- 
2.8.2
Received on Thu Jun 23 2016 - 16:12:19 CEST

This archive was generated by hypermail 2.3.0 : Thu Jun 23 2016 - 16:12:15 CEST