Re: scp custom and default targets

"Scott Henry Harrison" <harris41-mhe/[email protected]> Thu, 22 Jan 2004 10:48:46 -0500
Newsgroups gmane.comp.tools.aap.devel
Message-ID <[email protected]>
>> I really need to specify custom directory locations
>> inside a file (e.g. specifications.aap) and I would like
>> to specify PREFIX from the command-line. 
> 
> That's exactly what already happens by default. 
> 

Why is command-line PREFIX not being used in the example
below?  If necessary, I can provide you with a login so
that you can see for yourself. 

Python 2.3 (#2, Aug 31 2003, 17:27:29)
[GCC 3.3.1 (Mandrake Linux 9.2 3.3.1-1mdk)] on linux2 

[sharrison]$ aap --version
A-A-P recipe executive version 1.049; released 2003 Nov 10 18:38:38 GMT 

[sharrison]$ more test.aap
PKGNAME = SCP-Tester-GX51-Turbo 

TESTDIR = /tmp
INSTALL_TEST += test1.txt
TESTPERMISSIONS = 0644 

install-local :
 @install_files(_no.TESTDIR,
 @              _no.INSTALL_TEST,_no.TESTPERMISSIONS) 

[sharrison]$ aap -f test.aap PREFIX=scp://[email protected]// install
Aap: Copied "test1.txt" to "/tmp/test1.txt" 

Regards,
Scott 




-------------------------------------------------------
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