Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: Misalf on June 10, 2014, 08:30:44 PM
-
Without a ./configure script (and adding "--prefix=/usr/local") but just a Makefile , I do:
make
...
make DESTDIR=/tmp/app install
...
What if the resulting path is /tmp/app/bin instead of /tmp/app/usr/local/bin ?
Is there another common way to define the path without a configure script?
Thanks.
-
then you just change the path directly in the Makefile.
-
Well, a quick look at the Makefile made me beleive it's using variables for finding libs but the sollution actually was (without editing the Makefile):
make
...
make PREFIX=/usr/local DESTDIR=/tmp/app install
...
Thanks, hiro!