Add more doc about doing a clean upstream build

This commit is contained in:
Ximin Luo 2018-05-19 16:12:53 -07:00
parent 25e20e6752
commit 9244de5431
2 changed files with 2 additions and 3 deletions

View File

@ -185,7 +185,8 @@ Comparing Debian rustc vs upstream rustc
This package does things the Debian way, which differs significantly from
upstream practices. If you find a bug, you might want to check if it is present
in the upstream package. Run "debian/rules debian/config.toml" to generate our
config.toml that you can then use in an unpacked upstream directory.
config.toml that you can then use in an upstream directory **unpacked from the
release tarball*. (It is more complex to get this working with their git repo.)
This will configure it in a "halfway" style between upstream and Debian.
Specifically, it will not build LLVM nor download stuff from crates.io, yet

2
debian/rules vendored
View File

@ -192,8 +192,6 @@ override_dh_auto_configure: debian/config.toml
# Other partially-excluded vendor crates in d/copyright
debian/prune-checksums src/vendor/winapi-*/.cargo-checksum.json
debian/prune-checksums src/vendor/shlex/.cargo-checksum.json
# We patched this for sparc64 support
debian/prune-checksums src/vendor/cc/.cargo-checksum.json
# We don't run ./configure because we use debian/config.toml directly
ln -sf debian/config.toml config.toml