MayaPosch / NymphCast

Audio and video casting system with support for custom applications.
http://nyanko.ws/nymphcast.php
BSD 3-Clause "New" or "Revised" License
2.43k stars 82 forks source link

Makefile paths #46

Closed PureTryOut closed 3 years ago

PureTryOut commented 3 years ago

DESTDIR is used by distribution packaging to determine paths for make to install too, which always is some other location than the root of the filesystem. The resulting package will then install it to the root on user systems. Thus, using DESTDIR in the Makefile causes wrong paths to be used

Also, the binaries are always installed to $PREFIX/bin, not $PREFIX/linux-\-\/bin, and same with all other files (config, apps, etc). Thus remove $(TARGET_BIN) from the bin path.

Also OpenRC init files need to be executable to prevent a "Permission denied" error.