4
|
1 prefix=$DESTDIR
|
|
2
|
|
3 install:
|
|
4 mkdir -pm 0755 $(prefix)/bin
|
|
5 mkdir -pm 0755 $(prefix)/share/postagelabels
|
|
6 mkdir -pm 0755 $(prefix)/share/applications
|
|
7 install -m 0755 postagelabels.py $(prefix)/bin
|
|
8 install -m 0644 png/postagelabels.png $(prefix)/share/postagelabels
|
|
9 install -m 0644 png/blank_small.png $(prefix)/share/postagelabels
|
|
10 install -m 0644 png/szablon.png $(prefix)/share/postagelabels
|
|
11 install -m 0644 postagelabels.desktop $(prefix)/share/applications
|
|
12
|
|
13 .PHONY: install
|
|
14
|
|
15 uninstall:
|
|
16 rm $(prefix)/share/postagelabels/postagelabels.png
|
|
17 rm $(prefix)/share/postagelabels/blank_small.png
|
|
18 rm $(prefix)/share/postagelabels/szablon.png
|
|
19 rmdir $(prefix)/share/postagelabels/
|
|
20 rm $(prefix)/bin/postagelabels.py
|
|
21 rm $(prefix)/share/applications/postagelabels.desktop
|
|
22
|
|
23 .PHONY: uninstall
|