summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
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