On Mon, 2009-11-23 at 10:33 -0800, Peter Naulls wrote: > Jan-Jaap van der Geer wrote: > > On Sun, 2009-11-22 at 12:19 -0800, Peter Naulls wrote: > >> Jan-Jaap van der Geer wrote: > >>> This adds a third parameter to ab_create_app to indicate which > >>> package. > >>> This worked for me, although I'm not really sure if it is OK to add > >>> a > >>> third parameter when the second one can be empty. I've not seen that > >>> kind of ab_create_app commands though, so I'm not sure if it is > >>> relevant.
> I may want to overload this differently, for the case of multiple apps > in one package. But anyway, apart from the mechanics, can you describe > what it is you are trying to archive here, since I'm not really sure of > that. There is probably a better way to do both things. The idea is that the third parameter takes the name of the package where the appdir should be created. In that way, the appdir can be created in the correct place in $D, since that what was missing was the packagename from AB_PACKAGES in which the appdir should have been created. With my change, the following diff works for libgee, without the need to delete anything: =================================================================== --- setvars (revision 4219) +++ setvars (working copy) @@ -14,15 +14,12 @@ mkdir -p $slibdir # Developer package - devdir=$D/libgee-dev/Apps/Library - mkdir -p $devdir + ab_create_app LibGee Apps/Library libgee-dev vapidir=$D/libgee-dev/Apps/Development/\!Vala/vapi mkdir -p $vapidir - cp -r $H/!LibGee $devdir - HERE=`pwd` - cd $devdir/\!LibGee + cd $A unzip $AB_OUTPUTLIB/$RO_PKG.zip # Move headers libs and docs up one directory @@ -49,7 +46,6 @@ mv $tdocdir/* . rm -rf $tdocdir - cd $HERE cd $slibdir # Create soft links Hope this makes it clear. Cheers, Jan-Jaap ____________________________________________________________ FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop! Check it out at http://www.inbox.com/earth _______________________________________________ GCCSDK mailing list [email protected] Bugzilla: http://www.riscos.info/bugzilla/index.cgi List Info: http://www.riscos.info/mailman/listinfo/gcc Main Page: http://www.riscos.info/index.php/GCCSDK
