Subject: Re: misc/1222: diffs to share/mk/bsd.subdir.mk to show directory hierarchy
To: None <netbsd-bugs@NetBSD.ORG>
From: Ty Sarna <tsarna@endicor.com>
List: netbsd-bugs
Date: 07/13/1995 17:33:24
In article <199507130850.EAA21676@sun-lamp.pc.cs.cmu.edu>,
Alistair G. Crooks <agc@uts.amdahl.com> wrote:
> 
> >Number:         1222
> >Description:
> 	The current bsd.subdir.mk shows the move into a subdirectory
> 	with a line "===> subdirectory name", but doesn't reflect the
> 	directory hierarchy - this patch prints three '=' for each level
> 	of sub-directory. e.g. (and I hope this makes it through gnats)
> ===> csu
> ======> i386

I made a similar change to my own tree once, but never posted it
because I didn't think anyone else would care. But since you mention
it... Mine worked differently: rather than printing more ==='s, it
printer the directories inbetween where the make was stated and where
it's just entered, ie:

===> csu
===> csu/i386

This has two advantages: early parts of the directory aren't lost as
===> lines scroll off, and since the dicrectory is printed in full all
in one place, one can cut and paste it directly into a cd command. If
a make dies somewhere, you just snip the last ===> line, cd to it, and
you're there. 

I no longer have the patches, though.