diff bing4desktop/Makefile.debian @ 29:61c9889ed899

bing4desktop-0.240208-1
author prymula <prymula76@outlook.com>
date Thu, 08 Feb 2024 16:03:15 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bing4desktop/Makefile.debian	Thu Feb 08 16:03:15 2024 +0100
@@ -0,0 +1,21 @@
+prefix=/usr
+
+install: bing4desktop.py
+	mkdir -pm 0755 $(prefix)/bin
+	mkdir -pm 0755 $(prefix)/share/bing4desktop
+	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/
+.PHONY: install
+
+uninstall:
+	rm $(prefix)/bin/bing4desktop.py
+	rm $(prefix)/share/bing4desktop/bing.ico
+	rm $(prefix)/share/bing4desktop/bing.png
+	rm $(prefix)/share/applications/bing4desktop.desktop
+	rm /etc/xdg/autostart/bing4desktop.desktop
+	rmdir $(prefix)/share/bing4desktop/
+.PHONY: uninstall