File: built-using-dh-cargo.diff

package info (click to toggle)
rust-libspa 0.9.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 584 kB
  • sloc: ansic: 207; makefile: 2
file content (13 lines) | stat: -rw-r--r-- 399 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/build.rs b/build.rs
index 792755d..1c6550f 100644
--- a/build.rs
+++ b/build.rs
@@ -1,5 +1,8 @@
+use std::env;
+
 fn main() {
     // FIXME: It would be nice to run this only when tests are run.
+    println!("dh-cargo:deb-built-using=pod=0={}", env::var("CARGO_MANIFEST_DIR").unwrap());
     println!("cargo:rerun-if-changed=tests/pod.c");
 
     let libs = system_deps::Config::new()