On Sun, 2007-02-04 at 14:58 +0000, Pedro Alves wrote:
> Hi Danny,
>
> [EMAIL PROTECTED] escreveu:
> > - mkdir -p ${PREFIX}/${TARGET}/include/w32api
> > - cp -rf ${BASE_DIRECTORY}/w32api/include/*.h
> > ${PREFIX}/${TARGET}/include/w32api || exit 1
> > + mkdir -p ${PREFIX}/${TARGET}/include/w32api/{GL,directx,ddk}
> > + cp -fp ${BASE_DIRECTORY}/w32api/include/*.h
> > ${PREFIX}/${TARGET}/include/w32api || exit 1
> > + cp -fp ${BASE_DIRECTORY}/w32api/include/GL/*.h
> > ${PREFIX}/${TARGET}/include/w32api/GL || exit 1
> > + cp -fp ${BASE_DIRECTORY}/w32api/include/directx/*.h
> > ${PREFIX}/${TARGET}/include/w32api/directx || exit 1
> > + cp -fp ${BASE_DIRECTORY}/w32api/include/ddk/*.h
> > ${PREFIX}/${TARGET}/include/w32api/ddk || exit 1
> > }
> >
>
> >
> > - mkdir -p ${PREFIX}/${TARGET}/include/
> > - cp -rfp ${BASE_DIRECTORY}/mingw/include/*.h
> > ${PREFIX}/${TARGET}/include/ || exit 1
> > - cp -rfp ${BASE_DIRECTORY}/w32api/include/*.h
> > ${PREFIX}/${TARGET}/include/ || exit 1
> > + mkdir -p ${PREFIX}/${TARGET}/include/sys
> > + cp -fp ${BASE_DIRECTORY}/mingw/include/*.h
> > ${PREFIX}/${TARGET}/include/ || exit 1
> > + cp -fp ${BASE_DIRECTORY}/mingw/include/sys/*.h
> > ${PREFIX}/${TARGET}/include/sys || exit 1
> > + cp -fp ${BASE_DIRECTORY}/w32api/include/*.h
> > ${PREFIX}/${TARGET}/include/ || exit 1
> > }
> >
>
> I'm confused - Why didn't the -r switch work for you?
Probably because the command says to specify a number of files (*.h),
not a directory.
cp -rfp ${BASE_DIRECTORY}/mingw/include ${PREFIX}/${TARGET}/include
would work (and be simpler), but it would copy the CVS and SVN junk
which is not desirable.
Danny
> Besides, we can now build w32api proper, which makes this patch unneeded.
> I'll post a patch
> to add the w32api build step to the 'all' case.
>
> Cheers,
> Pedro Alves
>
--
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Cegcc-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cegcc-devel
