view numpuzzle/makefile @ 10:4dc186728822

immposiblerush-0.230919-2
author prymula <prymula76@outlook.com>
date Sun, 04 Feb 2024 23:27:00 +0100
parents 2787f5e749ae
children
line wrap: on
line source


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