Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Mar 1998 11:31:26 -0500 (EST)
From:      "Gregory D. Moncreaff" <moncrg@am026091.res.ray.com>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   misc/6132: bsd.subdir.mk - cleandepend
Message-ID:  <199803251631.LAA23200@am026091.res.ray.com>

next in thread | raw e-mail | index | archive | help

>Number:         6132
>Category:       misc
>Synopsis:       bsd.subdir.mk - cleandepend
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 25 09:30:01 PST 1998
>Last-Modified:
>Originator:     Gregory D. Moncreaff
>Organization:
>Release:        FreeBSD 2.2.5-RELEASE i386
>Environment:

	

>Description:

	bsd.subdir.mk checks if cleandepend is defined, not if it is
	an already defined target

>How-To-Repeat:

	% cat Makefile
	
	cleandepend:

	SUBDIR = xxx

	% make cleandepend

	if it changes directory to xxx, the problem exitst

>Fix:
	
	change bsd.subdir.mk to check if cleandepend is a target

	diff bsd.subdir.mk bsd.subdir.mk.ORIG
	48c48
	< .if !target(cleandepend)
	---
	> .if !defined(cleandepend)

>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803251631.LAA23200>