diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2022-09-28 04:31:58 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-28 04:31:58 -0400 |
commit | 94d238a4375af8e26f300e2b17fdb0c60c82c408 (patch) | |
tree | 91086cac042ad621f86f44062d21b9a71fd6ce25 /build.rs | |
parent | dfd21f57dc75db6647b115947072f7cf5d4c5b0c (diff) |
other: remove some build script triggers (#818)
Diffstat (limited to 'build.rs')
-rw-r--r-- | build.rs | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -23,8 +23,8 @@ fn create_dir(dir: &Path) -> Result<()> { } fn main() -> Result<()> { - const COMPLETION_DIR: &str = "target/tmp/bottom/completion"; - const MANPAGE_DIR: &str = "target/tmp/bottom/manpage"; + const COMPLETION_DIR: &str = "./target/tmp/bottom/completion/"; + const MANPAGE_DIR: &str = "./target/tmp/bottom/manpage/"; match env::var_os("BTM_GENERATE") { Some(var) if !var.is_empty() => { @@ -52,10 +52,6 @@ fn main() -> Result<()> { _ => {} } - println!("cargo:rerun-if-changed=build.rs"); - println!("cargo:rerun-if-changed=./src/clap.rs"); - println!("cargo:rerun-if-changed=.{}", COMPLETION_DIR); - println!("cargo:rerun-if-changed=.{}", MANPAGE_DIR); println!("cargo:rerun-if-env-changed=BTM_GENERATE"); Ok(()) |