diff kopieckreta/Makefile @ 23:489244127359

kopieckreta-0.240903-0
author Przemyslaw <prymula76@outlook.com>
date Mon, 01 Apr 2024 07:15:00 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/kopieckreta/Makefile	Mon Apr 01 07:15:00 2024 +0200
@@ -0,0 +1,20 @@
+
+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