diff immposiblerush/DEBIAN/debian.rules @ 0:2787f5e749ae

INIT
author prymula <prymula76@outlook.com>
date Thu, 21 Sep 2023 22:33:57 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/immposiblerush/DEBIAN/debian.rules	Thu Sep 21 22:33:57 2023 +0200
@@ -0,0 +1,23 @@
+#!/usr/bin/make -f
+
+export DH_VERBOSE = 1
+
+clean:
+	ant clean
+	
+build:
+	ant compile
+	ant jar
+
+binary:
+	mkdir -pm 0755 debian/immposiblerush
+	mkdir -pm 0755 debian/immposiblerush/usr/games
+	mkdir -pm 0755 debian/immposiblerush/usr/share/immposiblerush
+	mkdir -pm 0755 debian/immposiblerush/usr/share/applications
+	cp build/jar/ImmposibleRush.jar debian/immposiblerush/usr/games
+	cp res/immposiblerush.png debian/immposiblerush/usr/share/immposiblerush
+	cp ImmposibleRush.desktop  debian/immposiblerush/usr/share/applications
+	dh_gencontrol
+	dh_builddeb
+
+