A Suggestion For A Simple Package Manager

Rick Shelton rick.shelton at gmail.com
Wed Nov 19 16:35:19 PST 2008


>
> What about packages with 'make install' scripts that do not respect
> the DESTDIR variable?

add your own to the makefile. some makefiles use the variable
root_prefix, some have different names for what is functionally the
same as DESTDIR.

You can usually just add DESTDIR to the rules in the install target.

DESTDIR does not need to explicitly defined in the makefile. (should
not be?) The variable will take on any value specified in the command
line and remain empty otherwise, provided it isn't defined in the
environment.

~rick



More information about the lfs-support mailing list