From d8afc9f5c2aa97a96ca326c0178a7fc9577afaaf Mon Sep 17 00:00:00 2001 From: Przemyslaw Date: Mon, 1 Apr 2024 09:02:22 +0200 Subject: Init --- Makefile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..5dad744 --- /dev/null +++ b/Makefile @@ -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 -- cgit v1.2.3