diff numpuzzle/makefile @ 0:2787f5e749ae

INIT
author prymula <prymula76@outlook.com>
date Thu, 21 Sep 2023 22:33:57 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/numpuzzle/makefile	Thu Sep 21 22:33:57 2023 +0200
@@ -0,0 +1,20 @@
+
+numpuzzle:
+	ant compile
+	ant jar
+
+prefix=/opt/pietraszczyk/numpuzzle
+
+clean:
+	ant clean
+
+install: build/jar/NumPuzzle.jar
+	mkdir -pm 0755 /opt/pietraszczyk
+	mkdir -pm 0755 /opt/pietraszczyk/numpuzzle
+	install -m 0644 build/jar/NumPuzzle.jar $(prefix)
+	mkdir -pm 0755 $(prefix)/share/
+	mkdir -pm 0755 $(prefix)/share/icons
+	install -m 0644 numpuzzle.png $(prefix)/share/icons
+	install -m 0644 numpuzzle.desktop /usr/share/applications
+
+.PHONY: install