view 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
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