view numpuzzle/makefile @ 24:c7e131ce2f14

makefile rm
author Przemyslaw <prymula76@outlook.com>
date Mon, 01 Apr 2024 07:16:40 +0200
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