How To "make install" w/ designated target folder/directory?
If the package is with "./configure" suite
the it usually could be achieved by
代碼:
$ configure --help
Installation directories:
--prefix=PREFIX install architecture-independent files in PREFIX
[/usr]
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
[PREFIX]
For Example
Assume you want to install @ /tmp/myfolder/
代碼:
$ rm -rf /tmp/myfolder/
$ ./configure --prefix=/tmp/myfolder/ --exec-prefix=/tmp/myfolder/
$ make
$ make install
$ ls /tmp/myfolder/
bin sbin includes share
$
________________
美術插畫設計案子報價系統 v0.1 Beta
爪哇禾雀
|