[hackers] [st][PATCH] make install terminfo files in share/terminfo

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

---
 Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 6158ab2..8578b69 100644
--- a/Makefile
+++ b/Makefile
_AT_@ -49,7 +49,9 @@ 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 st.info 
+
 
 uninstall:
 	_AT_echo removing executable file from ${DESTDIR}${PREFIX}/bin
-- 
2.8.2
Received on Thu Jun 23 2016 - 16:37:37 CEST

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