---
 Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 6158ab2..a9b16aa 100644
--- a/Makefile
+++ b/Makefile
@@ -49,7 +49,8 @@ install: all
        @sed "s/VERSION/${VERSION}/g" < st.1 > ${DESTDIR}${MANPREFIX}/man1/st.1
        @chmod 644 ${DESTDIR}${MANPREFIX}/man1/st.1
        @echo Please see the README file regarding the terminfo entry of st.
-       @tic -s st.info
+       @mkdir -p ${DESTDIR}/${PREFIX}/share/terminfo
+       @tic -o ${DESTDIR}/${PREFIX}/share/terminfo -s doc/st.info 
 
 uninstall:
        @echo removing executable file from ${DESTDIR}${PREFIX}/bin
-- 
2.8.2


Reply via email to