0
|
1
|
|
2 numpuzzle:
|
|
3 ant compile
|
|
4 ant jar
|
|
5
|
|
6 prefix=/opt/pietraszczyk/numpuzzle
|
|
7
|
|
8 clean:
|
|
9 ant clean
|
|
10
|
|
11 install: build/jar/NumPuzzle.jar
|
|
12 mkdir -pm 0755 /opt/pietraszczyk
|
|
13 mkdir -pm 0755 /opt/pietraszczyk/numpuzzle
|
|
14 install -m 0644 build/jar/NumPuzzle.jar $(prefix)
|
|
15 mkdir -pm 0755 $(prefix)/share/
|
|
16 mkdir -pm 0755 $(prefix)/share/icons
|
|
17 install -m 0644 numpuzzle.png $(prefix)/share/icons
|
|
18 install -m 0644 numpuzzle.desktop /usr/share/applications
|
|
19
|
|
20 .PHONY: install
|