Use some black make(1) magic to make pkg_install build even without

Makefile.inc in parent directory (e.g. when checked out from cvs as a module).

MFC after:	2 weeks
This commit is contained in:
Maxim Sobolev 2002-02-27 19:03:15 +00:00
parent 9f01374de5
commit c9dfae71a8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=91414

View File

@ -7,4 +7,9 @@ LIBINSTALL= ${.CURDIR}/../lib/libinstall.a
.endif
# Inherit BINDIR from one level up.
.if !target(__foobar__)
__foobar__:
.if exists(../Makefile.inc)
.include "../Makefile.inc"
.endif
.endif