Re: Minor source patches

Bram Moolenaar <[email protected]>
Newsgroups gmane.comp.tools.aap.devel
Message-ID <[email protected]>
Adriaan de Groot wrote:

> > What we could do is add an argument to the install_files() function that
> > specifies the command to use for copying.  An action would probably be
> > best, since we have a source and a target.  Thus an "copyaction"
> > argument could be added, and when it's present the action will be
> > invoked instead of using remote_copy_move().
> 
> I'm afraid I don't understand this. Use :do copyaction from where? In 
> installdll and installltlib?

The actions in the recipe would invoke install_files(), just like the
existing install actions in default.aap.  An extra argument indicates
the action to be used for the copying (installing) of the file, e.g.:

	@install_files(dest, source, _no.LTLIBMODE, copyaction = "libtoolfilecopy")
	:action libtoolfilecopy default
		:sys libtool ... --from $source --to $target

The install_files() function takes care of invoking the action specified
with "copyaction".  When none specified remote_copy_move() is used as
before.

> > - user manual explanation for using ":produce" and associated commands
> >   (you already wrote something like this a while ago)
> 
> That's your baby, isn't it?

Quite a while ago, just before I added ":produce", you wrote a nice
explanation of how to use a filetype to specify what kind of program to
produce.  Reworking that to explain using ":produce" would be a good
idea.  The main thing is to explain the difference between what you want
to build and how to do it.

> > - a multi-like ":ltlib" command doesn't work
> 
> What's that mean? 

I have this remark in my todo list:

	multi-line :lib doesn't work?  Adriaan de Groot will make a patch.

Do you understand it now?  I would have to dig in my mail archive to
find the details.

-- 
hundred-and-one symptoms of being an internet addict:
239. You think "surfing" is something you do on dry land.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///          Creator of Vim - Vi IMproved -- http://www.Vim.org          \\\
\\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
 \\\  Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html  ///


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.