Fix building termcap.db when make obj is run beforehand from a clean tree by

using make variables for the filenames, which helps resolve pathing
appropriately when running cap_mkdb

X-MFC with: r275687
Pointyhat to: me
This commit is contained in:
Enji Cooper 2014-12-10 23:18:11 +00:00
parent 1db9ecff02
commit 7c1e17e76e

View File

@ -21,7 +21,7 @@ CAP_MKDB_ENDIAN=
.endif
termcap.db: termcap
cap_mkdb ${CAP_MKDB_ENDIAN} termcap
cap_mkdb ${CAP_MKDB_ENDIAN} -f ${.TARGET:R} ${.ALLSRC}
etc-termcap:
ln -fs ${BINDIR}/misc/termcap ${DESTDIR}/etc/termcap