view numpuzzle/makefile @ 15:f61684ae8245

READEM FIX
author prymula <prymula76@outlook.com>
date Sat, 10 Feb 2024 21:05:36 +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