From 85f07339daeeb95ed3e74cb5e47e42128430e40c Mon Sep 17 00:00:00 2001 From: CGMossa Date: Sat, 7 Sep 2024 12:42:46 +0200 Subject: [PATCH] [minor] Use same variable in `Makevars` file (#358) * use the same variable as in other Makevars templates * ci fix: snapshot updated --------- Co-authored-by: Ilia Kosenkov --- inst/templates/Makevars | 2 +- tests/testthat/_snaps/use_cran_defaults.md | 2 +- tests/testthat/_snaps/use_extendr.md | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/inst/templates/Makevars b/inst/templates/Makevars index 18cc5a06..07ed90f4 100644 --- a/inst/templates/Makevars +++ b/inst/templates/Makevars @@ -27,4 +27,4 @@ C_clean: rm -Rf $(SHLIB) $(STATLIB) $(OBJECTS) clean: - rm -Rf $(SHLIB) $(STATLIB) $(OBJECTS) rust/target + rm -Rf $(SHLIB) $(STATLIB) $(OBJECTS) $(TARGET_DIR) diff --git a/tests/testthat/_snaps/use_cran_defaults.md b/tests/testthat/_snaps/use_cran_defaults.md index 6a19be7a..e3065b31 100644 --- a/tests/testthat/_snaps/use_cran_defaults.md +++ b/tests/testthat/_snaps/use_cran_defaults.md @@ -66,7 +66,7 @@ rm -Rf $(SHLIB) $(STATLIB) $(OBJECTS) clean: - rm -Rf $(SHLIB) $(STATLIB) $(OBJECTS) rust/target + rm -Rf $(SHLIB) $(STATLIB) $(OBJECTS) $(TARGET_DIR) --- diff --git a/tests/testthat/_snaps/use_extendr.md b/tests/testthat/_snaps/use_extendr.md index 5e2349e5..92d25e84 100644 --- a/tests/testthat/_snaps/use_extendr.md +++ b/tests/testthat/_snaps/use_extendr.md @@ -72,7 +72,7 @@ rm -Rf $(SHLIB) $(STATLIB) $(OBJECTS) clean: - rm -Rf $(SHLIB) $(STATLIB) $(OBJECTS) rust/target + rm -Rf $(SHLIB) $(STATLIB) $(OBJECTS) $(TARGET_DIR) --- @@ -284,5 +284,5 @@ rm -Rf $(SHLIB) $(STATLIB) $(OBJECTS) clean: - rm -Rf $(SHLIB) $(STATLIB) $(OBJECTS) rust/target + rm -Rf $(SHLIB) $(STATLIB) $(OBJECTS) $(TARGET_DIR)