mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-13 11:42:21 +00:00
dtterm: on install use 'tic' to install the terminfo definition for dtterm
This commit is contained in:
parent
cc60fb8241
commit
0e9b1140ea
2 changed files with 7 additions and 0 deletions
|
@ -375,6 +375,9 @@ if test -z "$ac_cv_prog_PATCH"; then
|
|||
MISSING_PROGS="patch ${MISSING_PROGS}"
|
||||
fi
|
||||
|
||||
dnl Used to check if program 'tic' is available to install terminfo files
|
||||
AC_CHECK_PROGS(TIC, tic, :)
|
||||
|
||||
dnl headers
|
||||
AC_HEADER_STDC
|
||||
AC_CHECK_HEADERS([locale.h security/pam_appl.h utempter.h])
|
||||
|
|
|
@ -47,6 +47,10 @@ dtterm.ti: terminfoChecklist
|
|||
$(RM) $@
|
||||
CPP="$(GENCPP)" $(SHELL) terminfoCreate < terminfoChecklist > $@
|
||||
|
||||
|
||||
install:
|
||||
@TIC@ dtterm.ti
|
||||
|
||||
install-exec-hook:
|
||||
chown root $(DESTDIR)$(bindir)/dtterm
|
||||
if !HAS_UTEMPTER_LIBRARY
|
||||
|
|
Loading…
Reference in a new issue