This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: The tree command
- From: Rafael Kitover <rkitover at cpan dot org>
- To: cygwin at cygwin dot com
- Date: Tue, 15 Feb 2011 05:48:42 -0500
- Subject: Re: The tree command
- References: <4D5A44A8.1000902@bonhard.uklinux.net>
- Reply-to: rkitover at cpan dot org
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