[gccsdk] Building package gettext
Jan-Jaap van der Geer
jjvdgeer at inbox.com
Mon Nov 23 13:03:15 PST 2009
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
--- setvars (revision 4219)
+++ setvars (working copy)
@@ -14,15 +14,12 @@
mkdir -p $slibdir
# Developer package
- mkdir -p $devdir
+ ab_create_app LibGee Apps/Library libgee-dev
mkdir -p $vapidir
- cp -r $H/!LibGee $devdir
- cd $devdir/\!LibGee
+ cd $A
# Move headers libs and docs up one directory
@@ -49,7 +46,6 @@
mv $tdocdir/* .
rm -rf $tdocdir
- cd $HERE
# Create soft links
Hope this makes it clear.
FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
Check it out at http://www.inbox.com/earth
More information about the gcc