dtterm: fix problem introduced with 0e9b1140ea, preventing install of dtterm

The tic command needs to be under the 'install-exec-hook:' target, not
the 'install:' target.  Specifying the 'install:' target overrides
everything else, causing the dtterm binary to not be installed on a
'make install'
This commit is contained in:
Jon Trulson 2021-08-07 17:28:30 -06:00
parent e12f1df79d
commit b0af0a49aa
1 changed files with 2 additions and 6 deletions

View File

@ -47,13 +47,9 @@ 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
chown root $(DESTDIR)$(bindir)/dtterm
chmod 4755 $(DESTDIR)$(bindir)/dtterm
endif
@TIC@ dtterm.ti