1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
Description: hint that embedded code does not require source distributed
Embedded code is licensed under the Apache 2.0 license.
Author: Jonas Smedegaard <dr@jones.dk>
Forwarded: not-needed
Last-Update: 2023-12-20
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/build.rs
+++ b/build.rs
@@ -18,6 +18,7 @@
use std::{env, fs};
fn main() {
+ println!("dh-cargo:deb-built-using=parser=0={}", env::var("CARGO_MANIFEST_DIR").unwrap());
// We copy TreeSitter data to a subdirectory of the build directory
let source_path = Path::new("tree-sitter");
let build_path = Path::new(&env::var_os("OUT_DIR").unwrap()).join("tree-sitter");
|