Re: Installing A-A-P with a non-existent PREFIX
Bram Moolenaar <[email protected]> Sat, 17 Jan 2004 15:59:19 +0100
| Newsgroups | gmane.comp.tools.aap.devel |
|---|---|
| Message-ID | <[email protected]> |
Scott Harrison wrote: > Okay, here is my spam-question-du-jour. > > > > non-existent PREFIX (i.e. aap install PREFIX=/no/such/path); I think it > > Does PREFIX work against everything (@install_files), or just against > the default list of targets (install-data, install-exec, > install-include, etc)? It works for everything. > DESTDIR will automatically process for @install_files, right? Yes. > Right now, I am doing something like this (which from reading > the documentation and this thread is wrong): > > # The leading filesystem path (ordinarily blank, used for testing). > PREFIX = > > # Filesystem locations > DOCUMENTROOT = $(PREFIX)/usr/local/www/data > WEBSERVERLOGS = $(PREFIX)/var/log > > sometarget: > @install_files(_no.DOCUMENTROOT, etc.... You can set $PREFIX to an empty string, but this has the meaning of installing in /usr/local. To really install in the root directory set it to "/". Is it a problem that install_files() always prepends $DESTDIR/$PREFIX to the directory passed to it? -- Veni, Vidi, Video -- I came, I saw, I taped what I saw. /// Bram Moolenaar -- [email protected] -- 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 /// ------------------------------------------------------- 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