delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/04/17:20:34

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <4.1.20010304165748.00b849c0@pop.mathworks.com>
X-Sender: paulk AT pop DOT mathworks DOT com
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1
Date: Sun, 04 Mar 2001 17:19:19 -0500
To: "Nascif Abousalh-Neto" <nascif AT nortelnetworks DOT com>
From: Paul Kinnucan <paulk AT mathworks DOT com>
Subject: RE: Need help with makefile
Cc: jde AT sunsite DOT dk, cygwin AT cygwin DOT com
In-Reply-To: <7DBB74CCC0C7D411B89600508BCF9C2456586E@zrtpd0jf.us.nortel.
com>
Mime-Version: 1.0

At 02:17 PM 3/4/2001 -0500, Nascif Abousalh-Neto wrote: 

>
> mkdir -p is what we use at our company. 
> Why is it not sufficient?



I am using cygwin on Windows.  cygwin supports several different methods of
specifying paths, e.g.,

c:/cygwin/home/foo
//c/cygwin/home/foo
/cygdrive/c/cygwin/home/foo
/home/foo      (c:/cygwin/home is mounted as /home)

As it turns out, mkdir -p fails with the path spec I was using
in my makefile, e.g.,

//c/cygwin/home/foo

It seems to work fine with the other versions. So...

Never mind.

- Paul

mkdir -p //c/cygwin/home/foo


>
> > -----Original Message----- 
> > From: Paul Kinnucan
[<mailto:paulk AT mathworks DOT com>mailto:paulk AT mathworks DOT com]
>
> > Sent: Sunday, March 04, 2001 1:52 PM 
> > To: jde AT sunsite DOT dk 
> > Subject: Need help with makefile 
> > 
> > 
> > Hi, 
> > 
> > I am trying to solve a problem with the makefile that builds the JDE 
> > distribution. The problem is that I often need to build the JDE 
> > distribution for a given release multiple times. The first 
> > time I want the 
> > makefile to create the JDE distribution directory, e.g., 
> > 
> > c:/jde-dev/distrib/zip/jde-2.2.7beta3 
> > 
> > On subsequent runs I want the build to simply update the 
> > directory and its 
> > subdirectories without recreating them. The problem is that 
> > mkdir errors 
> > out if the directory already exists. I have tried the mkdir 
> > -p option; it 
> > ignores the directory if it exists but does not create the 
> > directory if it 
> > does not exist. Is there another way to solve this problem? 
> > 
> > - Paul 
> > 




--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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