FedeDP / Clightd

A linux bus interface that lets you change screen brightness, compute captured webcam frames brightness and change screen temperature.
GNU General Public License v3.0
83 stars 10 forks source link

[FEAT REQ] Uninstall Make rule #107

Closed agsuy closed 11 months ago

agsuy commented 1 year ago

It would be great to be able to remove Clightd without manually tracking and removing everything.

FedeDP commented 1 year ago

Hi! Thanks for opening this request. Unfortunately, cmake does not offer such an option. Luckily enough, there are some workarounds: https://stackoverflow.com/questions/41471620/cmake-support-make-uninstall

I could also implement the uninstall target manually, but I'd avoid doing so (since the aforementioned workarounds work just fine!). I can add an entry in the Wiki pages perhaps?

agsuy commented 1 year ago

Hello! Thanks for the quick response.

Yup, I ended doing something similar piping with xargs to rm

Just mentioning the preferred way to uninstall (maybe provide a snippet or how to entry) should suffice and make things easier for end users.

FedeDP commented 11 months ago

Added :) https://github.com/FedeDP/Clightd/wiki/Build#uninstallation

Thank you for your feedback!