The tree command

Rafael Kitover rkitover@cpan.org
Tue Feb 15 10:49:00 GMT 2011


On 2/15/2011 4:17 AM, Fergus wrote:
>>> The source is here:
>>> ftp://mama.indstate.edu/linux/tree/
>>> edit the Makefile to uncomment the Cygwin section and it will build
> cleanly.
>> Yes, works perfectly.
> FWIW: I wish I'd edited the Makefile additionally to so that
> prefix = /usr/local
> rather than the default /usr (but this is just a personal preference for
> the location of extras).
> Fergus

I use stow for this.
Like so:
mkdir /usr/local/stow
mkdir /usr/local/stow/tree-1.5.3
make
make install prefix=/usr/local/stow/tree-1.5.3
cd /usr/local/stow
stow tree-1.5.3
Now you have a symlink, /usr/local/bin/tree .
To remove the symlinks, you just do:
cd /usr/local/stow
stow -D tree-1.5.3
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /