summaryrefslogtreecommitdiffstats
path: root/debian/source
diff options
context:
space:
mode:
Diffstat (limited to 'debian/source')
-rw-r--r--debian/source/format1
-rw-r--r--debian/source/include-binaries6
-rw-r--r--debian/source/lintian-overrides9
-rw-r--r--debian/source/options4
4 files changed, 20 insertions, 0 deletions
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 000000000..163aaf8d8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/include-binaries b/debian/source/include-binaries
new file mode 100644
index 000000000..33bec9522
--- /dev/null
+++ b/debian/source/include-binaries
@@ -0,0 +1,6 @@
+debian/icons/rust-logo-32x32-blk.png
+# if you are here because dpkg-source told you to "add stage0/rustc-** in d/source/include-binaries",
+# ignore that instruction and instead:
+# a) if you want to use the orig-stage0 for your next upload, then extract it into stage0/
+# b) if you don't want to use it, then rename "../rustc_${version}.orig-stage0.tar.xz" to something else
+# see also d/source/options and d/source/local-options and #577113.
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644
index 000000000..003835cd6
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1,9 @@
+# Long documentation
+rustc source: source-is-missing [library/stdarch/crates/stdarch-verify/arm-intrinsics.html]
+# Test data
+rustc source: source-is-missing [src/tools/rust-analyzer/crates/ide/src/syntax_highlighting/test_data/*.html]
+rustc source: source-is-missing [src/test/rustdoc/decl-trailing-whitespace.declaration.html]
+rustc source: source-is-missing [vendor/html5ever/data/bench/*.html]
+rustc source: source-is-missing [vendor/minifier/tests/files/minified_main.js]
+rustc source: source-contains-prebuilt-windows-binary [vendor/libloading/tests/nagisa32.dll]
+rustc source: source-contains-prebuilt-windows-binary [vendor/libloading/tests/nagisa64.dll]
diff --git a/debian/source/options b/debian/source/options
new file mode 100644
index 000000000..8a8c93f54
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1,4 @@
+# this helps to prevent accidentally including the orig-stage0 tarball in a non
+# orig-stage0 upload, after running `debian/rules source_orig-stage0`.
+# we can get rid of this after #577113 is fixed
+include-removal