Uninstall added in makefile

Removes 3 installed files with sudo make uninstall
This commit is contained in:
Shriraj
2020-10-12 00:00:29 +05:30
parent 98cd451330
commit 13972d5a6c

View File

@@ -6,3 +6,8 @@ install:
@install -Dm644 -t "$(DESTDIR)/etc/apt/apt.conf.d/" 80-timeshift-autosnap-apt @install -Dm644 -t "$(DESTDIR)/etc/apt/apt.conf.d/" 80-timeshift-autosnap-apt
@install -Dm755 -t "$(DESTDIR)/usr/bin/" timeshift-autosnap-apt @install -Dm755 -t "$(DESTDIR)/usr/bin/" timeshift-autosnap-apt
@install -Dm644 -t "$(LIB_DIR)/etc/" timeshift-autosnap-apt.conf @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