]> git.proxmox.com Git - cargo.git/commitdiff
debian cargo wrapper: move DESTDIR doc
authorXimin Luo <infinity0@debian.org>
Fri, 3 Jan 2020 02:13:08 +0000 (02:13 +0000)
committerXimin Luo <infinity0@debian.org>
Fri, 3 Jan 2020 02:13:08 +0000 (02:13 +0000)
debian/bin/cargo

index 25964b9685123b4542bed2f051a1c28a07f86334..6fc8e1f12c1c9706e06e1b2d04539830d6d46e26 100755 (executable)
@@ -34,6 +34,11 @@ Otherwise, you *must* set the following environment variables:
 
 - CFLAGS CXXFLAGS CPPFLAGS LDFLAGS [*]
 - DEB_HOST_GNU_TYPE DEB_HOST_RUST_TYPE [*]
+
+- (required only for `cargo install`) DESTDIR
+  DESTDIR to install build artifacts under. If running via dh-cargo, this will
+  be set automatically by debhelper, see `dh_auto_install` for details.
+
 - (optional) DEB_BUILD_OPTIONS DEB_BUILD_PROFILES
 
 - (optional) DEB_CARGO_INSTALL_PREFIX
@@ -41,10 +46,6 @@ Otherwise, you *must* set the following environment variables:
   want to change this to /usr/lib/cargo if the binary clashes with something
   else, and then symlink it into /usr/bin under an alternative name.
 
-- (required only for `cargo install`) DESTDIR
-  DESTDIR to install build artifacts under. If running via dh-cargo, this will
-  be set automatically by debhelper, see `dh_auto_install` for details.
-
 - (optional) DEB_CARGO_CRATE_IN_REGISTRY
   Whether the crate is in the local-registry (1) or cwd (0, empty, default).