dtterm: on install use 'tic' to install the terminfo definition for dtterm
This commit is contained in:
@@ -375,6 +375,9 @@ if test -z "$ac_cv_prog_PATCH"; then
|
|||||||
MISSING_PROGS="patch ${MISSING_PROGS}"
|
MISSING_PROGS="patch ${MISSING_PROGS}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
dnl Used to check if program 'tic' is available to install terminfo files
|
||||||
|
AC_CHECK_PROGS(TIC, tic, :)
|
||||||
|
|
||||||
dnl headers
|
dnl headers
|
||||||
AC_HEADER_STDC
|
AC_HEADER_STDC
|
||||||
AC_CHECK_HEADERS([locale.h security/pam_appl.h utempter.h])
|
AC_CHECK_HEADERS([locale.h security/pam_appl.h utempter.h])
|
||||||
|
|||||||
@@ -47,6 +47,10 @@ dtterm.ti: terminfoChecklist
|
|||||||
$(RM) $@
|
$(RM) $@
|
||||||
CPP="$(GENCPP)" $(SHELL) terminfoCreate < terminfoChecklist > $@
|
CPP="$(GENCPP)" $(SHELL) terminfoCreate < terminfoChecklist > $@
|
||||||
|
|
||||||
|
|
||||||
|
install:
|
||||||
|
@TIC@ dtterm.ti
|
||||||
|
|
||||||
install-exec-hook:
|
install-exec-hook:
|
||||||
chown root $(DESTDIR)$(bindir)/dtterm
|
chown root $(DESTDIR)$(bindir)/dtterm
|
||||||
if !HAS_UTEMPTER_LIBRARY
|
if !HAS_UTEMPTER_LIBRARY
|
||||||
|
|||||||
Reference in New Issue
Block a user