On Saturday 10 October 2009 18:30:11 Garrett Cooper wrote: > I just changed it so it won't do this anymore, but what I need to > know exactly is how do you intend to do submakes, e.g. do you intend > to manually compile the library, NOT do the install, then go to a > subdir, run make all, and that's it? > make install (IMO) still needs $(prefix) to be defined to a sane > setting, so it's now only a requirement for install.
requiring install-related variables to be sane in order to do `make install` is fine (i.e. prefix/etc...). but that is the only time install related variables should be needed/consulted. when you compile a package (i.e. run `make`) regardless of this being done at the toplevel or a subdir only, the build process should never need anything ltp related outside of the source tree (so i'm not talking about libcap or whatever, just libltp). this is the expected behavior for all packages out there, not just ltp. one reason for why this is a bad idea is that it is then impossible to compile/test a new version of a package locally before installing it into the live filesystem. you would have to first uninstall the old version (rm -rf /opt/ltp), then compile/install the new version, and then hope that (1) the build is successful as well as (2) the package working as expected (bug free). -mike
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference
_______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
