diff --git a/build-aux/build.rs b/build-aux/build.rs index f90e33049..739ea2f7c 100644 --- a/build-aux/build.rs +++ b/build-aux/build.rs @@ -15,6 +15,7 @@ use vergen::EmitBuilder; include!("../src/cli.rs"); fn main() { + println!("cargo:rerun-if-changed=.version"); let mut builder = EmitBuilder::builder(); // If passed a version from automake, use that instead of vergen's formatting if let Ok(val) = env::var("VERSION_FROM_AUTOTOOLS") {