annotate numpuzzle/makefile @ 17:e9c503d896a6

flappyufo-0.230919-1_add_pkgbuild
author Przemyslaw <prymula76@outlook.com>
date Sat, 24 Feb 2024 17:47:35 +0100
parents 2787f5e749ae
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
prymula <prymula76@outlook.com>
parents:
diff changeset
1
prymula <prymula76@outlook.com>
parents:
diff changeset
2 numpuzzle:
prymula <prymula76@outlook.com>
parents:
diff changeset
3 ant compile
prymula <prymula76@outlook.com>
parents:
diff changeset
4 ant jar
prymula <prymula76@outlook.com>
parents:
diff changeset
5
prymula <prymula76@outlook.com>
parents:
diff changeset
6 prefix=/opt/pietraszczyk/numpuzzle
prymula <prymula76@outlook.com>
parents:
diff changeset
7
prymula <prymula76@outlook.com>
parents:
diff changeset
8 clean:
prymula <prymula76@outlook.com>
parents:
diff changeset
9 ant clean
prymula <prymula76@outlook.com>
parents:
diff changeset
10
prymula <prymula76@outlook.com>
parents:
diff changeset
11 install: build/jar/NumPuzzle.jar
prymula <prymula76@outlook.com>
parents:
diff changeset
12 mkdir -pm 0755 /opt/pietraszczyk
prymula <prymula76@outlook.com>
parents:
diff changeset
13 mkdir -pm 0755 /opt/pietraszczyk/numpuzzle
prymula <prymula76@outlook.com>
parents:
diff changeset
14 install -m 0644 build/jar/NumPuzzle.jar $(prefix)
prymula <prymula76@outlook.com>
parents:
diff changeset
15 mkdir -pm 0755 $(prefix)/share/
prymula <prymula76@outlook.com>
parents:
diff changeset
16 mkdir -pm 0755 $(prefix)/share/icons
prymula <prymula76@outlook.com>
parents:
diff changeset
17 install -m 0644 numpuzzle.png $(prefix)/share/icons
prymula <prymula76@outlook.com>
parents:
diff changeset
18 install -m 0644 numpuzzle.desktop /usr/share/applications
prymula <prymula76@outlook.com>
parents:
diff changeset
19
prymula <prymula76@outlook.com>
parents:
diff changeset
20 .PHONY: install