1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
  
     | 
    
      Description: Add TERMINFO path to terminfo/Makefile.*
Author: Nobuhiro Iwamatsu <iwamatsu@debian.org>
Last-Update: 2020-04-20
diff --git a/terminfo/Makefile.am b/terminfo/Makefile.am
index b023297..2c5ba34 100644
--- a/terminfo/Makefile.am
+++ b/terminfo/Makefile.am
@@ -1,4 +1,4 @@
 EXTRA_DIST = fbterm
 
 install-data-local:
-	tic fbterm
+	TERMINFO=$(DESTDIR)/usr/share/terminfo tic fbterm
diff --git a/terminfo/Makefile.in b/terminfo/Makefile.in
index 92cfbd9..ae09eb7 100644
--- a/terminfo/Makefile.in
+++ b/terminfo/Makefile.in
@@ -323,7 +323,7 @@ uninstall-am:
 
 
 install-data-local:
-	tic fbterm
+	TERMINFO=$(DESTDIR)/usr/share/terminfo tic fbterm
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 
     |