Re: Install?

Leandro Lucarella <[email protected]> Mon, 6 Apr 2009 14:05:09 -0300
Newsgroups gmane.comp.tools.aap.user
Message-ID <[email protected]>
Bram Moolenaar, el  6 de abril a las 13:11 me escribiste:
> 
> Leandro Lucarella wrote:
> 
> > Is there any aid for installing programs/libraries?
> > 
> > I see there are several predefined variables like $DATADIR and $DATAMODE
> > and a default install target is provided when using the :program, :lib,
> > etc. commands for example, but I couldn't find any way to specify how to
> > install extra files (like headers or data files).
> > 
> > Then, if I implement my own install target, I have to start handling
> > prefixes and suffixes according to the OS (test -> libtest.so vs
> > test.dll), and I don't see an :install command or something to easily use
> > the $XXXDIR and $XXXMODE variables.  Should I make all manually using
> > :copy, :mkdir, :chmod, etc.?
> 
> The package side of Aap is underdeveloped.  I started implementing some
> things and asked for feedback.  Hoping that at least some people would
> consider it an improvement above something like the BSD ports system,
> which is hack on top of make files and shell scripts.  That didn't
> happen, thus I didn't spend more time on it.
> 
> You can perhaps use the Aap script for Vim as an example.  In the Vim
> source code it's src/main.aap.  It installs data files.  No libraries
> though.

Ok, it's all done manually as I see. Thanks for the example.

-- 
Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/
----------------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145  104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------------


------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com