diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 23 |
1 files changed, 11 insertions, 12 deletions
@@ -28,22 +28,14 @@ See <https://subplot.liw.fi/> for the home page. Subplot is written using the Rust programming language, so the usual workflow for Rust applies. To build run `cargo build`, to run tests in -Rust run `cargo test`. +Rust run `cargo test`. You probably need to install Rust using rustup: +the version packaged in a Linux distribution is likely too old. 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 to install build dependencies installed: +You'll need to install build dependencies installed. On a system +running Debian or a derivative of it: ~~~sh $ sudo apt-get install build-essential git debhelper dh-cargo python3 \ @@ -58,6 +50,13 @@ Additionally, any packages reported by running the following command: $ dpkg-checkbuilddeps ~~~ +To build the Debian package: + +~~~sh +$ git archive HEAD | gzip > "../subplot_$(dpkg-parsechangelog -SVersion | sed 's/-.*$//').orig.tar.gz" +$ dpkg-buildpackage -us -uc +~~~ + # Legalese Copyright 2019-2021 Lars Wirzenius, Daniel Silverstone |