From d8afc9f5c2aa97a96ca326c0178a7fc9577afaaf Mon Sep 17 00:00:00 2001 From: Przemyslaw Date: Mon, 1 Apr 2024 09:02:22 +0200 Subject: Init --- DEBIAN/debian.rules | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 DEBIAN/debian.rules (limited to 'DEBIAN/debian.rules') 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 + -- cgit v1.2.3