NikitaIvanovV / ctpv

Image previews for lf file manager
https://www.nikitaivanov.com/man1/ctpv
MIT License
264 stars 24 forks source link

User config `PREFIX` rather than system bin #24

Closed CharlesChiuGit closed 1 year ago

CharlesChiuGit commented 1 year ago

https://github.com/NikitaIvanovV/ctpv/blob/6d5c14d279a71d676270151d218efef067733921/Makefile#L1

Is there a reason fixing prefix to /usr/bin, or it's possible to be a pass-in option? I would really like it to be a local only program, cause people don't have sudo privilege all the time.

Thanks for the great work!

NikitaIvanovV commented 1 year ago

Yep, it's not necessary to install it, you can just type make and out the put the compiled binary wherever you want.

CharlesChiuGit commented 1 year ago

ys, that's what I had done. 😂 Sorry, not quite familiar with makefiles.