RE: [AD] Makefile fix

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


What about mkdir -p? I had already posted a patch a while back, but CVS
messed it up so Eric reverted the changes. I didn't have the time to
reapply it correctly, but perhaps you could look it up?


> -----Original Message-----
> From: alleg-developers-admin@xxxxxxxxxx [mailto:alleg-
> developers-admin@xxxxxxxxxx] On Behalf Of Bobby Ferris
> Sent: Thursday, August 05, 2004 9:25 AM
> To: alleg-developers@xxxxxxxxxx
> Subject: Re: [AD] Makefile fix
> 
> Sam Hocevar wrote:
> 
> >On Thu, Aug 05, 2004, Bobby Ferris wrote:
> >
> >
> >
> >>> Replace "mkdir $(FOO)" with "if test ! -d $(FOO); then mkdir
$(FOO);
> fi"
> >>>which is what you really mean. Ideally, automake's mkinstalldir
should
> >>>be used since it can recursively create directory trees.
> >>>
> >>>
> >>well what about windows? :/
> >>
> >>
> >
> >   This is how to do it under a DOS prompt; someone should check
whether
> >it works in a Makefile:
> >
> >     if not exist $(FOO)\nul.ext md $(FOO)
> >
> >
> >
> you would need to get command/cmd to run it. You could put that in a
> batch file or something. OK. So let's hold off on this make file
> patch.... someone else can add the checking ;)
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by OSTG. Have you noticed the changes
on
> Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
> one more big change to announce. We are now OSTG- Open Source
Technology
> Group. Come see the changes on the new OSTG site. www.ostg.com
> --
> https://lists.sourceforge.net/lists/listinfo/alleg-developers




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