comparison bing4desktop/Makefile @ 13:73fd89b46da4

bing4desktop-0.240206-3
author prymula <prymula76@outlook.com>
date Tue, 06 Feb 2024 17:47:04 +0100
parents c01d7edb9cb9
children 3b8fd6a7f2d0
comparison
equal deleted inserted replaced
12:74d743cf58cb 13:73fd89b46da4
1 prefix=/usr 1 prefix=/usr
2 MYDIR=/home
2 3
3 install: bing4desktop.py 4 install: bing4desktop.py
4 mkdir -pm 0755 $(DESTDIR)$(prefix)/bin 5 mkdir -pm 0755 $(prefix)/bin
5 mkdir -pm 0755 $(DESTDIR)$(prefix)/share/bing4desktop 6 mkdir -pm 0755 $(prefix)/share/bing4desktop
6 mkdir -pm 0755 $(DESTDIR)/etc/xdg/autostart 7 #mkdir -pm 0755 /etc/xdg/autostart
7 install -m 0755 bing4desktop.py $(DESTDIR)$(prefix)/bin 8 install -m 0755 bing4desktop.py $(prefix)/bin
8 install -m 0644 bing.ico $(DESTDIR)$(prefix)/share/bing4desktop 9 install -m 0644 bing.ico $(prefix)/share/bing4desktop
9 install -m 0644 bing4desktop.desktop $(DESTDIR)/etc/xdg/autostart 10 install -m 0644 bing.png $(prefix)/share/bing4desktop
11 install -m 0644 bing4desktop.desktop $(prefix)/share/applications
12 $(shell ./copy_desktop.sh)
10 .PHONY: install 13 .PHONY: install
11 14
12 uninstall: 15 uninstall:
13 rm $(prefix)/bin/bing4desktop.py 16 rm $(prefix)/bin/bing4desktop.py
14 rm $(prefix)/share/bing4desktop/bing.ico 17 rm $(prefix)/share/bing4desktop/bing.ico
15 rm /etc/xdg/autostart/bing4desktop.desktop 18 rm $(prefix)/share/bing4desktop/bing.png
19 rm $(prefix)/share/applications/bing4desktop.desktop
20 #rm /etc/xdg/autostart/bing4desktop.desktop
16 rmdir $(prefix)/share/bing4desktop/ 21 rmdir $(prefix)/share/bing4desktop/
22 $(shell ./copy_desktop.sh)
17 .PHONY: uninstall 23 .PHONY: uninstall