From hsu@clinet.fi  Sun Feb 18 11:30:08 1996
Received: from hauki.clinet.fi (root@hauki.clinet.fi [194.100.0.1])
          by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id LAA29417
          for <FreeBSD-gnats-submit@freebsd.org>; Sun, 18 Feb 1996 11:30:02 -0800 (PST)
Received: from katiska.clinet.fi (root@katiska.clinet.fi [194.100.0.4]) by hauki.clinet.fi (8.7.3/8.6.4) with ESMTP id VAA25590 for <FreeBSD-gnats-submit@freebsd.org>; Sun, 18 Feb 1996 21:29:48 +0200 (EET)
Received: (root@localhost) by katiska.clinet.fi (8.7.3/8.6.4) id VAA02056; Sun, 18 Feb 1996 21:29:46 +0200 (EET)
Message-Id: <199602181929.VAA02056@katiska.clinet.fi>
Date: Sun, 18 Feb 1996 21:29:46 +0200 (EET)
From: Heikki Suonsivu <hsu@clinet.fi>
Reply-To: hsu@clinet.fi
To: FreeBSD-gnats-submit@freebsd.org
Subject: xinstall install rule broken?
X-Send-Pr-Version: 3.2

>Number:         1033
>Category:       bin
>Synopsis:       xinstall install rule broken?
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 18 11:40:01 PST 1996
>Closed-Date:    Sun Feb 25 11:33:40 PST 1996
>Last-Modified:  Sun Feb 25 11:34:53 PST 1996
>Originator:     Heikki Suonsivu
>Release:        FreeBSD 2.2-CURRENT i386
>Organization:
Clinet, Espoo, Finland
>Environment:

FreeBSD 2.1R, trying to make reinstall -current on top of it.

>Description:

make reinstall still needs manually installing xinstall, even though it
seems that there have been changes which should have fixed this? 

make reinstall
...
cd /usr/src/share/mk &&         make install
install -c -o bin -g bin -m 444 bsd.README bsd.dep.mk bsd.doc.mk bsd.info.mk bsd.kmod.mk bsd.lib.mk bsd.man.mk bsd.own.mk bsd.port.mk bsd.port.subdir.mk bsd.prog.mk bsd.sgml.mk bsd.subdir.mk sys.mk  /usr/share/mk
--------------------------------------------------------------
 Rebuild tools necessary to build the include files
--------------------------------------------------------------

cd /usr/src/usr.bin/xinstall &&  make depend all install cleandir obj
make: don't know how to make /usr/current/src/usr.bin/xinstall/../../bin/ls/stat_flags.c. Stop
*** Error code 2

Stop.

>How-To-Repeat:

	make reinstall from precompiled src/obj trees.

>Fix:
	
	make reinstall should never try to make something, it should
	only install.  Ie, the above rule should only install the
	xinstall, not recompile it.  I don't know why it fails to recompile
	it, though?
	
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: peter 
State-Changed-When: Mon Feb 19 02:42:33 PST 1996 
State-Changed-Why:  
I committed a fix for this shortly before this bug was filed. 
(rev 1.76 of Makefile) 
Can you please check to see if it is working now after your next sup/ctm? 

The "includes" target was bogusly depending on include-tools.. that should 
be 'make world's job 
State-Changed-From-To: feedback->closed 
State-Changed-By: peter 
State-Changed-When: Sun Feb 25 11:33:40 PST 1996 
State-Changed-Why:  
Confirmed fixed. 
>Unformatted:
