summaryrefslogtreecommitdiff
path: root/DEBIAN/debian.rules
diff options
context:
space:
mode:
Diffstat (limited to 'DEBIAN/debian.rules')
-rw-r--r--DEBIAN/debian.rules25
1 files changed, 25 insertions, 0 deletions
diff --git a/DEBIAN/debian.rules b/DEBIAN/debian.rules
new file mode 100644
index 0000000..3f7a836
--- /dev/null
+++ b/DEBIAN/debian.rules
@@ -0,0 +1,25 @@
+#!/usr/bin/make -f
+
+export DH_VERBOSE = 1
+#export PYBUILD_NAME = photocrop
+#export PYBUILD_SYSTEM = custom
+
+clean:
+ ant clean
+
+build:
+ ant compile
+ ant jar
+
+binary:
+ mkdir -pm 0755 debian/kopieckreta/usr
+ mkdir -pm 0755 debian/kopieckreta/usr/games
+ mkdir -pm 0755 debian/kopieckreta/usr/share/kopieckreta
+ mkdir -pm 0755 debian/kopieckreta/usr/share/kopieckreta/icons
+ mkdir -pm 0755 debian/kopieckreta/usr/share/applications
+ cp build/jar/KopiecKreta.jar debian/kopieckreta/usr/games
+ cp kopieckreta.png debian/kopieckreta/usr/share/kopieckreta/icons
+ cp KopiecKreta.desktop debian/kopieckreta/usr/share/applications
+ dh_gencontrol
+ dh_builddeb
+