On Tue, Jun 02, 2009 at 01:50:03PM +0000, Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum wrote:
it still seems odd that in case of --new-style only include_prefix can be set, but others like lib_prefix are ignored.
Well, the whole idea of --new-style is to collect everything under a common prefix, so maybe it's not so odd after all.
but that would not be the case if someone sets include_prefix as argument to install.pike, which is the odd part because it makes includes be outside of that common prefix, and exactly because of the problem you notice below:
In the case of a --new-style install (which is default), the prefix is modified by the code before include_prefix is computed. So hardcoding it in the Makefile using the make variable $(prefix) would not give the same result. :-/
that is already the case now if someone uses an include_prefix argument.
is there any case where someone tries to set include_prefix with --new-style now?
i'd suggest that we make --new-style work without any arguments and use --traditional for any cases where a flexible layout is desired. after all, it is even possible to get a new-style layout with --traditional by setting the prefix accordingly, so anyone using --new-style together with include_prefix could just use --traditional and set prefix accordingly.
greetings, martin.