aboutsummaryrefslogtreecommitdiff
path: root/reproduce/analysis
diff options
context:
space:
mode:
authorRaul Infante-Sainz <infantesainz@gmail.com>2020-06-19 12:12:15 +0100
committerRaul Infante-Sainz <infantesainz@gmail.com>2020-06-19 12:12:15 +0100
commit4785b459b8c31ae11b8974724ccbf2723e001d75 (patch)
tree4deceb4bfd8202f91448433712f87d577b26cac6 /reproduce/analysis
parent3a8522600361a7ba8acc1239439f823452b691e3 (diff)
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.
Diffstat (limited to 'reproduce/analysis')
-rw-r--r--reproduce/analysis/make/initialize.mk1
1 files changed, 1 insertions, 0 deletions
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