view numpuzzle/makefile @ 19:fff7215ba1e8

package for arch
author Przemyslaw <prymula76@outlook.com>
date Sun, 31 Mar 2024 16:10:46 +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