diff bing4desktop/Makefile @ 11:c01d7edb9cb9

bing4desktop-0.240206-0
author prymula <prymula76@outlook.com>
date Tue, 06 Feb 2024 11:58:47 +0100
parents ed9556d0c5d7
children 73fd89b46da4
line wrap: on
line diff
--- a/bing4desktop/Makefile	Tue Feb 06 00:30:36 2024 +0100
+++ b/bing4desktop/Makefile	Tue Feb 06 11:58:47 2024 +0100
@@ -6,5 +6,12 @@
 	mkdir -pm 0755 $(DESTDIR)/etc/xdg/autostart
 	install -m 0755 bing4desktop.py $(DESTDIR)$(prefix)/bin
 	install -m 0644 bing.ico $(DESTDIR)$(prefix)/share/bing4desktop
-	install -m 0755 bing4desktop.desktop $(DESTDIR)/etc/xdg/autostart
+	install -m 0644 bing4desktop.desktop $(DESTDIR)/etc/xdg/autostart
 .PHONY: install
+
+uninstall:
+	rm $(prefix)/bin/bing4desktop.py
+	rm $(prefix)/share/bing4desktop/bing.ico
+	rm /etc/xdg/autostart/bing4desktop.desktop
+	rmdir $(prefix)/share/bing4desktop/
+.PHONY: uninstall