diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-05-13 14:27:29 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-05-13 14:48:12 +0300 |
commit | 170d2b3d6e3759cf02ac9fd78f66c06ce7caf5c6 (patch) | |
tree | e55b11d341b07e244711f0987326b22bd2a24cbb /README.md | |
parent | 523e5d92bfb3e26e5731d260318ddbc76f71ac44 (diff) | |
download | subplot-170d2b3d6e3759cf02ac9fd78f66c06ce7caf5c6.tar.gz |
docs: update .deb building
build-deb is long gone, build without.
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 |