simonrharris / SKA

Split Kmer Analysis
MIT License
62 stars 1 forks source link

"make PREFIX=/my/dir install" still uses /usr/local #13

Closed tseemann closed 5 years ago

tseemann commented 5 years ago
make PREFIX=/home/linuxbrew/.linuxbrew/Cellar/ska/1.0 install
cp bin/ska /usr/local/bin/
cp: cannot create regular file <E2><80><98>/usr/local/bin/ska<E2><80><99>: Permission denied
make: *** [Makefile:34: install] Error 1

I can't figure out why this is happening.

tseemann commented 5 years ago

OK i figured it out. Your release is older than the current Makefile, which @johnlees fixed :)

https://github.com/simonrharris/SKA/commit/6b9460b9ebc47ad737f28813bb2702538aaf8b4e#diff-b67911656ef5d18c4ae36cb6741b7965