From 4785b459b8c31ae11b8974724ccbf2723e001d75 Mon Sep 17 00:00:00 2001 From: Raul Infante-Sainz Date: Fri, 19 Jun 2020 12:12:15 +0100 Subject: Removing preparation-done.mk when cleaning by ./project make clean Until this commit, the file `BDIR/software/preparation-done.mk' were not removed when cleaning the project with `./project make clean'. This file is generated in the preparation of the data during the analysis step. However, the cleaning is expected to remove anything generated in the analysis process! Step by step, with the commands: ./project make ---> Will make the preparation and analysis ./project make clean ---> Will remove all analysis outputs (but not `preparation-done.mk') ./project make ---> Won't do the preparation, only analysis! However, in the last step it should do the preparation again, because the input data could have change for any reason. With this commit, the file `BDIR/software/preparation-done.mk' is removed when cleaning the project, and consequently, in the analysis step the input data is prepared. --- .file-metadata | Bin 8865 -> 8808 bytes reproduce/analysis/make/initialize.mk | 1 + 2 files changed, 1 insertion(+) diff --git a/.file-metadata b/.file-metadata index c5363f0..de71931 100644 Binary files a/.file-metadata and b/.file-metadata differ diff --git a/reproduce/analysis/make/initialize.mk b/reproduce/analysis/make/initialize.mk index b2185e2..47e6712 100644 --- a/reproduce/analysis/make/initialize.mk +++ b/reproduce/analysis/make/initialize.mk @@ -242,6 +242,7 @@ clean: clean-mmap rm -rf $(BDIR)/tex/macros/!(dependencies.tex|dependencies-bib.tex) rm -rf $(BDIR)/!(software|tex) $(BDIR)/tex/!(macros|$(texbtopdir)) rm -rf $(BDIR)/tex/build/!(tikz) $(BDIR)/tex/build/tikz/* + rm -rf $(BDIR)/software/preparation-done.mk distclean: clean # Without cleaning the Git hooks, we won't be able to easily -- cgit v1.2.1