diff options
author | Lars Wirzenius <liw@liw.fi> | 2019-09-28 17:06:04 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2019-09-28 17:06:04 +0300 |
commit | 9a4deda49e49f7f83812acae254b595b9c5e7303 (patch) | |
tree | d447ea5a17f007fb21940e3cf51be03158f574f0 | |
parent | a55becd77e9efd56b83dc36d3cdd5ff9bde703cd (diff) | |
download | rust-deb-sample-9a4deda49e49f7f83812acae254b595b9c5e7303.tar.gz |
Muck about with Debian packaging
-rw-r--r-- | debian/cargo-checksum.json | 0 | ||||
-rw-r--r-- | debian/control | 12 | ||||
-rwxr-xr-x | debian/rules | 5 |
3 files changed, 12 insertions, 5 deletions
diff --git a/debian/cargo-checksum.json b/debian/cargo-checksum.json new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/debian/cargo-checksum.json diff --git a/debian/control b/debian/control index e5a8dc4..db15510 100644 --- a/debian/control +++ b/debian/control @@ -1,11 +1,15 @@ Source: hi Maintainer: Lars Wirzenius <liw@liw.fi> -Section: misc +Section: utils Priority: optional -Standards-Version: 3.9.2 -Build-Depends: debhelper (>= 7.3.8), dh-cargo +Standards-Version: 4.2.0 +Build-Depends: debhelper (>= 10~), dh-cargo, cargo, rustc, libstd-rust-dev Package: hi -Architecture: all +Architecture: any +Depends: + ${misc:Depends}, + ${shlibs:Depends} +Built-Using: ${cargo:Built-Using} Description: greet Greet the user. diff --git a/debian/rules b/debian/rules index 96be711..718b9c5 100755 --- a/debian/rules +++ b/debian/rules @@ -1,4 +1,7 @@ #!/usr/bin/make -f %: - dh $@ --with=cargo --buildsystem=debcargo + dh $@ --buildsystem cargo + +override_dh_auto_clean: + true |