From 320e0c652a4fbe124057a9ce0a5616c07b10a41d Mon Sep 17 00:00:00 2001 From: TheBrokenRail Date: Wed, 10 Nov 2021 22:37:29 -0500 Subject: [PATCH] Add Missing File --- debian/.gitignore | 2 +- debian/rules | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100755 debian/rules diff --git a/debian/.gitignore b/debian/.gitignore index 07a6ac7bc..3d8b8cacd 100644 --- a/debian/.gitignore +++ b/debian/.gitignore @@ -1,6 +1,6 @@ * !control !copyright -!rukes +!rules !source !.gitignore diff --git a/debian/rules b/debian/rules new file mode 100755 index 000000000..1bd4e2613 --- /dev/null +++ b/debian/rules @@ -0,0 +1,24 @@ +#!/usr/bin/make -f + +DEB_CUSTOM_OUTPUT_DIR ?= .. +include /usr/share/dpkg/architecture.mk + +%: + dh $@ + +override_dh_auto_configure: +override_dh_strip: +override_dh_dwz: +override_dh_makeshlibs: +override_dh_shlibdeps: + +override_dh_auto_build: + ./scripts/build.sh client $(DEB_HOST_ARCH) + ./scripts/build.sh server $(DEB_HOST_ARCH) + +override_dh_auto_install: + cp -ar out/client-$(DEB_HOST_ARCH)/. debian/minecraft-pi-reborn-client + cp -ar out/server-$(DEB_HOST_ARCH)/. debian/minecraft-pi-reborn-server + +override_dh_builddeb: + dh_builddeb --destdir=${DEB_CUSTOM_OUTPUT_DIR}