Subject: misc/8967: make really likes rebuilding libterm
To: None <gnats-bugs@gnats.netbsd.org>
From: Dan Winship <danw@MIT.EDU>
List: netbsd-bugs
Date: 12/07/1999 08:58:33
>Number:         8967
>Category:       misc
>Synopsis:       make really likes rebuilding libterm
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people (Misc Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec  7 08:57:00 1999
>Last-Modified:
>Originator:     Dan Winship
>Organization:
>Release:        current
>Environment:
System: NetBSD frotz 1.4P NetBSD 1.4P (FROTZ) #7: Mon Dec 6 17:08:41 EST 1999 dan@frotz:/usr/src/sys/arch/macppc/compile/FROTZ macppc


>Description:
	No matter how many times I rebuild /usr/src/lib/libterm, make
	is always happy to build it again.

	This seems to be a result of the bsd.inc.mk rules invoked
	for termcap.h. Because of the .PHONY, make apparently decides
	that /usr/include/termcap.h was changed even when it wasn't,
	and since everything else depends on it, it all gets rebuilt.

	(Yes, doing "make UPDATE=1" makes it not do that.)

	There are probably other places it does this too. I just
	happened to notice it here.
>How-To-Repeat:
	cd /usr/src/lib/libterm
	make depend && make
	make
	make
	make
	while [ ! $bored ]; do
		make
	done
>Fix:

>Audit-Trail:
>Unformatted: