Re: Install?

Bram Moolenaar <[email protected]> Mon, 06 Apr 2009 13:11:00 +0200
Newsgroups gmane.comp.tools.aap.user
Message-ID <[email protected]>
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.

-- 
Back up my hard drive?  I can't find the reverse switch!

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

------------------------------------------------------------------------------