From d5ce69ef75770aa4be631c8477daebed45e77f8d Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Fri, 1 Jan 2021 10:06:09 +0200 Subject: build: add script to build subplot.deb --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index d3156e9..b2f6e03 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,27 @@ Rust run `cargo test`. To run the whole test suite, including testing all examples and Subplot self tests, run `./check` at the root of the source tree. +# Building Debian package + +To build a subplot.deb package, run the `build-deb` script, on a +Debian machine with the necessary packages installed, in a git +checkout of the source tree: + +~~~sh +$ ./build-deb /tmp/where/built/package/should/go +~~~ + +You'll need the following packages installed: + +> build-essential +> git + +Additionally, any packages reported by running the following command: + +~~~sh +$ dpkg-checkbuilddeps +~~~ + # Legalese Copyright 2019-2020 Lars Wirzenius -- cgit v1.2.1