Re: scp and install_files
Scott Harrison <harris41-mhe/[email protected]> 18 Jan 2004 07:22:43 -0500
| Newsgroups | gmane.comp.tools.aap.devel |
|---|---|
| Organization | Michigan State University |
| Message-ID | <[email protected]> |
On Sun, 2004-01-18 at 06:35, Bram Moolenaar wrote:
> Scott Henry Harrison wrote:
>
> > Does scp not work with install_files?
> >
> > --begin test.aap--
> > all:
> > @install_files("scp://[email protected]/tmp","Makefile.in",'0644')
> >
> > --end test.aap--
> >
> > [[email protected] build]$ aap -f test.aap
> > Aap: Creating directory "/usr/local/scp://[email protected]/tmp"
> > Aap: Internal Error
> You need to put the "scp://" on the first part. When not using $DESTDIR
> that should be in $PREFIX. The directory argument of install_files() is
> the directory below the prefix, you can't specify the copy method there.
>
> PREFIX = scp://[email protected]
> all:
> @install_files("/tmp","Makefile.in",'0644')
Note that when it is something like:
PREFIX = /
all:
@install_files("/tmp","Makefile.in",'0644')
and I do
make -f test.aap PREFIX=scp://[email protected]
it installs in (locally)
/scp:/sharrison\@somewhere.cc
Why isn't the command-line PREFIX overriding the *.aap's
PREFIX?
Thanks.
Regards,
Scott
--
Scott Harrison <harris41-mhe/[email protected]>
Michigan State University
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn