diff options
author | Przemyslaw <prymula76@outlook.com> | 2024-04-01 09:02:22 +0200 |
---|---|---|
committer | Przemyslaw <prymula76@outlook.com> | 2024-04-01 09:02:22 +0200 |
commit | d8afc9f5c2aa97a96ca326c0178a7fc9577afaaf (patch) | |
tree | 730acbaff01acd5ebed98a7c6ee831ccb731706e /Makefile |
Init
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
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 |