diff options
author | sobomax <sobomax@FreeBSD.org> | 2002-02-27 19:03:15 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2002-02-27 19:03:15 +0000 |
commit | 3fcf72b6ba1d0b47ab8a97496d7ee803761e8670 (patch) | |
tree | a6689a86c7f56a68f10ac23c59ff306221b5c188 | |
parent | 3970e888bce599fc7ef0e269ac9113146e2afbdc (diff) | |
download | FreeBSD-src-3fcf72b6ba1d0b47ab8a97496d7ee803761e8670.zip FreeBSD-src-3fcf72b6ba1d0b47ab8a97496d7ee803761e8670.tar.gz |
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
-rw-r--r-- | usr.sbin/pkg_install/Makefile.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/usr.sbin/pkg_install/Makefile.inc b/usr.sbin/pkg_install/Makefile.inc index ac13ed5..31b1204 100644 --- a/usr.sbin/pkg_install/Makefile.inc +++ b/usr.sbin/pkg_install/Makefile.inc @@ -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 |