Skip to content

Commit

Permalink
Fix building termcap.db when make obj is run beforehand from a clean …
Browse files Browse the repository at this point in the history
…tree by

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

X-MFC with: r275687
Pointyhat to: me
  • Loading branch information
ngie-eign committed Dec 10, 2014
1 parent 1db9ecf commit 7c1e17e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion share/termcap/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7c1e17e

Please sign in to comment.