Make the `obj' target `.PHONY', so that does not get affected by .PATH/VPATH

This is not hurting things right now, and it will help things when path
searching for target nodes is enabled for make.
This commit is contained in:
christos 1997-04-15 21:29:09 +00:00
parent 48729af76f
commit a2a43b1836
2 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: bsd.doc.mk,v 1.24 1997/03/29 08:02:48 mikel Exp $
# $NetBSD: bsd.doc.mk,v 1.25 1997/04/15 21:29:09 christos Exp $
# @(#)bsd.doc.mk 8.1 (Berkeley) 8/14/93
BIB?= bib
@ -41,6 +41,7 @@ manpages:
.endif
.if !target(obj)
.PHONY: obj
obj:
.endif

View File

@ -1,6 +1,7 @@
# $NetBSD: bsd.obj.mk,v 1.9 1996/04/10 21:08:05 thorpej Exp $
# $NetBSD: bsd.obj.mk,v 1.10 1997/04/15 21:29:10 christos Exp $
.if !target(obj)
.PHONY: obj
.if defined(NOOBJ)
obj:
.else