Author Topic: Destdir Help  (Read 1580 times)

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Destdir Help
« on: March 18, 2007, 10:35:23 am »
Some things don't have the "DESTDIR=" option when "make install"ing them. Is there a good way to install the libs to a directory, or do you just have to go through your directories looking for the files?
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

desertrat

  • Hero Member
  • *****
  • Posts: 743
    • View Profile
    • http://
Destdir Help
« Reply #1 on: March 18, 2007, 02:00:37 pm »
If you make your IPKs install into /usr/local (as opposed to /usr) then you can use the "mount --bind trick" - check this:
https://www.oesf.org/forums/index.php?showt...ndpost&p=155258

Sometimes it's not possible to use this method. In these cases I resort to editing the Makefile, finding the section(s) which deal with the install and prefix the destinations with $DESTDIR, then I could do
Code: [Select]
DESTDIR="/path/to/temp/ipk/directory" make install
SL-C3100 / Ambicon WL1100C-CF / pdaXrom 1.1.0beta3 / IceWM