From b6d279ff2d5b76608fe77ba54d0f76ba8c7c335f Mon Sep 17 00:00:00 2001
From: namark <namark@disroot.org>
Date: Mon, 15 Apr 2019 16:21:43 +0400
Subject: [PATCH] Fixed uninstall rule in Makefile.

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

diff --git a/Makefile b/Makefile
index ca4ccd6..e69c494 100644
--- a/Makefile
+++ b/Makefile
@@ -71,7 +71,9 @@ $(BINDIR):
 
 uninstall:
 	-rm $(TARGET)
+	-rm $(INCLUDE)
 	@rmdir -p $(BINDIR) 2> /dev/null || true
+	@rmdir -p $(shell dirname $(INCLUDE)) 2> /dev/null || true
 	@echo Uninstall complete!
 
 -include $(DEPENDS)
-- 
GitLab