Subject: Re: package source directory hierarchy
To: None <greywolf@starwolf.com>
From: Masao Uebayashi <uebayasi@orchid.plala.or.jp>
List: tech-pkg
Date: 05/22/2001 23:19:32
> Pardon my extreme reply, but "ick". I much prefer it as it is now.
> If you want to do that, have an "alldir" target in the Makefile in
> /usr/pkgsrc as follows:
>
> alldir:
> for dir in [a-z]*; do { \
> for name in $$dir/*; do { \
> case $$name in \
> $$dir/\*) \
> break \
> ;; \
> $$dir/Makefile|$$dir/CVS) \
> : \
> ;; \
> *) \
> init=`expr $$name : '.*/\(.\).*'`; \
> link=`basename $$name`; \
> mkdir -p ALL/$$init; \
> ln -s ../../$$dir/$$link ALL/$init; \
> ;; \
> esac; \
> } done; \
> } done
>
> I much prefer going into /usr/src/pkgsrc/x11 and browsing around (and I
> don't want to have to start a browser to be able to do that).
Thanks for an elaborate code, but I knew I did like this. I guess you
are confusing what is possible, what you prefer to, and what is
better.
I know that my proposal costs too much and is hardly realized. I
posted this in the hope that this will be read and considered by those
who will have to recreate whole pkgsrc tree in the future --- after
the World War III. 8-)
Bye,
Masao
---
U E B A Y A S H I
|-- -|- -|-
_|__ /|\ /|\