delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/02/15/05:49:15

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
Message-ID: <4D5A5A0A.10605@cpan.org>
Date: Tue, 15 Feb 2011 05:48:42 -0500
From: Rafael Kitover <rkitover AT cpan DOT org>
Reply-To: rkitover AT cpan DOT org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: The tree command
References: <4D5A44A8 DOT 1000902 AT bonhard DOT uklinux DOT net>
In-Reply-To: <4D5A44A8.1000902@bonhard.uklinux.net>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019