From 9e0f8e1f7a551019587ac8c64a96214da3edb45b Mon Sep 17 00:00:00 2001 From: Thomas Groman Date: Tue, 27 Apr 2021 22:34:53 -0700 Subject: cleanup mime entry during uninstall Signed-off-by: Thomas Groman --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 923cadb..8e38b75 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # Install to ~/.local unless otherwise specified, such as `make PREFIX=/app` -PREFIX?=~/.local +PREFIX?=/usr/local # Man pages by default instaled to /usr/local/share/man, like above this can # be specified on command line. @@ -65,6 +65,8 @@ install: kristall uninstall: # Remove the .desktop rm -f $(sharedir)/applications/Kristall.desktop + # Remove the mime entry + rm -f $(sharedir)/mime/packages/kristall.xml # Remove the icons rm -f $(sharedir)/icons/hicolor/scalable/apps/net.random-projects.kristall.png rm -f $(sharedir)/icons/hicolor/*x*/apps/net.random-projects.kristall.png -- cgit v1.2.3