view kopieckreta/Makefile @ 24:c7e131ce2f14

makefile rm
author Przemyslaw <prymula76@outlook.com>
date Mon, 01 Apr 2024 07:16:40 +0200
parents 489244127359
children
line wrap: on
line source


all:
	ant compile
	ant jar
	
clean:
	ant clean

prefix=/usr/
    
install: build/jar/KopiecKreta.jar
	mkdir -pm 0755 $(DESTDIR)$(prefix)/games
	mkdir -pm 0755 $(DESTDIR)$(prefix)/share/kopieckreta
	mkdir -pm 0755 $(DESTDIR)$(prefix)/share/kopieckreta/icons
	mkdir -pm 0755 $(DESTDIR)$(prefix)/share/applications
	install -m 0644 build/jar/KopiecKreta.jar $(DESTDIR)$(prefix)/games	
	install -m 0644 kopieckreta.png $(DESTDIR)$(prefix)/share/kopieckreta/icons
	install -m 0644 KopiecKreta.desktop $(DESTDIR)/usr/share/applications
    
.PHONY: install