From 13972d5a6c54b30bdc770920286301eb6ef919f0 Mon Sep 17 00:00:00 2001 From: Shriraj Date: Mon, 12 Oct 2020 00:00:29 +0530 Subject: [PATCH] Uninstall added in makefile Removes 3 installed files with sudo make uninstall --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 499d340..e718b4d 100644 --- a/Makefile +++ b/Makefile @@ -6,3 +6,8 @@ install: @install -Dm644 -t "$(DESTDIR)/etc/apt/apt.conf.d/" 80-timeshift-autosnap-apt @install -Dm755 -t "$(DESTDIR)/usr/bin/" timeshift-autosnap-apt @install -Dm644 -t "$(LIB_DIR)/etc/" timeshift-autosnap-apt.conf + +uninstall: + rm -f $(DESTDIR)/etc/apt/apt.conf.d/80-timeshift-autosnap-apt + rm -f $(DESTDIR)/usr/bin/timeshift-autosnap-apt + rm -f $(LIB_DIR)/etc/timeshift-autosnap-apt.conf