darling
darling copied to clipboard
make uninstall missing
Following Build instructions there's no section about how to remove or clean up the system, for example make uninstall
, or at least say something in documentation. How to I remove files installed with sudo make install
?
I suppose CMake doesn't generate this target, and 99% of software packages out there don't have it either, so shrug.
The installer can generate a text file called darlinghq-installed-files
, then you uninstall with xargs rm -rf <darlinghq-installed-files
or any related shell script. You must prevent bloating systems just because, it's a bad practice.
The idea is to be able to completely undo what is installed on the system by sudo make install lkm_install
, so there's no need to restore a backup of the operating system to restore it to its previous state.