Open icaro-meneses opened 4 months ago
You're right; it really ought to have a "make uninstall" option. Anyway, installed files end up only in two places: If you used the default prefix, then it's /usr/local/lib/magic, and the executable is installed as /usr/local/bin/magic. If you rebuild/reinstall, then the executable is going to get overwritten, so you really only need to delete everything in the path /usr/local/lib/magic/.
OK! Knowing this, it is simple to clean the installed files and it is also possible to create an uninstall Makefile rule. Thanks!
I recently installed magic, but I ended up making the mistake of using the -j4 option in the compilation (I ended up reading later in the documentation about why I couldn't use it), so the final installation failed to copy the essential minimum.tech file.
So I prefer to do a clean install: uninstall and then install again. How can I perform the uninstall?
There is no 'uninstall' rule in the Makefile.