Re: [AD] make failing on mkdir

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


First off, here is my make version:
~~~~~~~~~~~~~~~~~~
C:\code\allegro>make -v
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for mingw32
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
        Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

Report bugs to <bug-make@xxxxxxxxxx>.
~~~~~~~~~~~~~~~~~~

Regarding mkdir on Windows XP, it will automatically create any
in-between paths. So a mkdir c:\foo\foo\foo\foo will always succeed
(if there isn't a file named foo) if the last folder doesn't exist.
Under Win 9x, such functionality does not exist.

--
Matthew Leverton 


On Fri, 28 Jan 2005 09:39:22 -0500, Miquel 'Fire' Burns
<miquelfire@xxxxxxxxxx> wrote:
> On Windows XP Pro, the syntax is just: MKDIR [drive:]path
> 
> Can't find any info with other switches (other than /?)
> 
> 
> On Fri, 28 Jan 2005 10:55:51 +0100, Evert Glebbeek <eglebbk@xxxxxxxxxx> wrote:
> > > > if not exist DIR ( mkdir DIR )
> > > >
> > > > ? Do all Windows versions support this?
> >
> > You can't use exist to check for directories directly, if I recall. At
> > least you couldn't in DOS. You'd have to check for if [not] exist DIR\nul
> > or something like that... I don't remember, but can probably look it up.
> > (once again wishes Windows were more like UNIX with things like this...)
> >
> > > Doesn't the windows mkdir support something like the -p option? It could
> > > just be used then, and mkdir called on all install dirs, no matter if
> > > they exist.
> >
> > No, as far as I know it doesn't... unfortunately.
> >
> > Evert
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> > Tool for open source databases. Create drag-&-drop reports. Save time
> > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> > Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> > --
> > https://lists.sourceforge.net/lists/listinfo/alleg-developers
> >
> 
> 
> --
> There is no sig.
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> --
> https://lists.sourceforge.net/lists/listinfo/alleg-developers
>




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/