Re: [A-A-P-develop] scp and install_files
Brought to you by:
vimboss
From: Bram M. <Br...@mo...> - 2004-01-18 14:14:49
|
Scott Henry Harrison wrote: > > 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://sha...@so... > > 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://sha...@so... Ehm, you apparently typed this, with a few mistakes... > it installs in (locally) > > /scp:/sharrison\@somewhere.cc > > Why isn't the command-line PREFIX overriding the *.aap's > PREFIX? The command-line values of variables are used to initialize the variables before executing the recipe. Assignments in a recipe may then change the values again. Aap != make :-) I always found it very confusing that make would sometimes skip an assignment. "The assignment is there, why doesn't it work? Oh, there is an enviroment variable with the same name...". -- GUARD #2: Wait a minute -- supposing two swallows carried it together? GUARD #1: No, they'd have to have it on a line. GUARD #2: Well, simple! They'd just use a standard creeper! GUARD #1: What, held under the dorsal guiding feathers? GUARD #2: Well, why not? The Quest for the Holy Grail (Monty Python) /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ Project leader for A-A-P -- http://www.A-A-P.org /// \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html /// |