view bing4desktop/Makefile @ 22:4773cc53027b

"bing4desktop-0.240207-5"
author prymula
date Wed, 07 Feb 2024 23:39:14 +0100
parents 3b8fd6a7f2d0
children 45b565b7b853
line wrap: on
line source

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_debian $(prefix)/share/applications
	install -m 0644 bing4desktop_debian /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