view bing4desktop/Makefile @ 12:74d743cf58cb

bing4desktop-0.240206-0_clean
author prymula <prymula76@outlook.com>
date Tue, 06 Feb 2024 12:01:38 +0100
parents c01d7edb9cb9
children 73fd89b46da4
line wrap: on
line source

prefix=/usr

install: bing4desktop.py
	mkdir -pm 0755 $(DESTDIR)$(prefix)/bin
	mkdir -pm 0755 $(DESTDIR)$(prefix)/share/bing4desktop
	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 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