diff bing4desktop/Makefile @ 24:02409f02eea6

bing4desktop-0.240208-0
author prymula <prymula76@outlook.com>
date Thu, 08 Feb 2024 11:37:04 +0100
parents 45b565b7b853
children 4797b096efab
line wrap: on
line diff
--- a/bing4desktop/Makefile	Wed Feb 07 23:52:18 2024 +0100
+++ b/bing4desktop/Makefile	Thu Feb 08 11:37:04 2024 +0100
@@ -3,12 +3,13 @@
 install: bing4desktop.py
 	mkdir -pm 0755 $(prefix)/bin
 	mkdir -pm 0755 $(prefix)/share/bing4desktop
-	mkdir -pm 0755 /etc/xdg/autostart
+	#mkdir -pm 0755 /etc/xdg/autostart
 	install -m 0755 bing4desktop.py $(prefix)/bin
 	install -m 0644 bing.ico $(prefix)/share/bing4desktop
 	install -m 0644 bing.png $(prefix)/share/bing4desktop
 	install -m 0644 bing4desktop.desktop $(prefix)/share/applications
-	install -m 0644 bing4desktop.desktop /etc/xdg/autostart/
+	#install -m 0644 bing4desktop.desktop /etc/xdg/autostart/
+	$(shell ./copy_desktop.sh)
 .PHONY: install
 
 uninstall:
@@ -17,5 +18,6 @@
 	rm $(prefix)/share/bing4desktop/bing.png
 	rm $(prefix)/share/applications/bing4desktop.desktop
 	rm /etc/xdg/autostart/bing4desktop.desktop
-	rmdir $(prefix)/share/bing4desktop/
+	#rmdir $(prefix)/share/bing4desktop/
+	$(shell ./copy_desktop.sh)
 .PHONY: uninstall