~emersion/mrsh-dev

Makefile: Add uninstall rule v1 APPLIED

Merlin: 1
 Makefile: Add uninstall rule

 1 files changed, 8 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~emersion/mrsh-dev/patches/16430/mbox | git am -3
Learn more about email & git

[PATCH] Makefile: Add uninstall rule Export this patch

---
 Makefile | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/Makefile b/Makefile
index ce88f4b..b81981b 100644
--- a/Makefile
+++ b/Makefile
@@ -80,6 +80,14 @@ install: mrsh libmrsh.so.$(SOVERSION) $(OUTDIR)/mrsh.pc
	done
	install -m644 $(OUTDIR)/mrsh.pc $(PCDIR)/mrsh.pc

uninstall:
	rm -f $(BINDIR)/mrsh
	rm -f $(LIBDIR)/libmrsh.so.$(SOVERSION)
	for inc in $(public_includes); do \
		rm -f $(INCDIR)/mrsh/$$(basename $$inc); \
	done
	rm -f $(PCDIR)/mrsh.pc

clean:
	rm -rf \
		$(libmrsh_objects) \
-- 
2.30.0
Pushed, thanks!