Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide make uninstall #68

Open
matthiasbeyer opened this issue Jun 13, 2014 · 1 comment
Open

Provide make uninstall #68

matthiasbeyer opened this issue Jun 13, 2014 · 1 comment

Comments

@matthiasbeyer
Copy link

I would like to see some make uninstall thing, to remove the installed binaries, library, etc.

@mkilgore
Copy link
Contributor

Creating an uninstall shouldn't be to complicated, I'm not really convinced it'd be worth it though. Really, installing and uninstalling should be the job of your package manager, 'make install'ing stuff directly is a bad idea. But noting that, no package managers are going to have cReddit packages any time soon, so I might add this in the future.

It's probably better to just create a portable version though, if you compile with STATIC defined, it should compile libreddit into a static library and then compile the directly into creddit. That'll get rid of the libreddit.so dependency and that should allow you to drop the creddit binary anywhere you want. I have a personal ~/bin folder in my PATH for stuff like this, just drop it in there and then you can still run it or replace it anytime but it won't be touching your system internals.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants