visit1985 / mdp

A command-line based markdown presentation tool.
GNU General Public License v3.0
4.96k stars 257 forks source link

Remove binary and manpage on `$ make uninstall` #146

Closed yochem closed 3 years ago

yochem commented 3 years ago

First of all, great program! Thank you for creating it.

First, I installed it from source using make; make install. But then I found out that mdp is also available on Homebrew. So I wanted to uninstall mdp in favor of the homebrew version. When I did this using make uninstall, I noticed it ran the command rm -f /usr/local/mdp, which is not the location the mdp binary is in. It also doesn't remove the corresponding man page. So this PR adds the ability to remove those two files that make install installs.