diff options
author | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2025-06-06 18:44:43 +0200 |
---|---|---|
committer | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2025-06-06 18:44:43 +0200 |
commit | d49ce5a19f5af5a88f5bff54dd3d44d105a77b5e (patch) | |
tree | 2ce9160522996b504117401e501e81165bf19350 /reproduce/analysis/make | |
parent | a575ef826eb054bc2236bf87a42adcf7a7674792 (diff) |
Summary: will not affect existing configuration or analysis.
Until now, the 'clean' rule of 'initialize.mk' paid careful attention to
not remove certain files that were created by the project configuration
phase in the analysis directory. However, in the last few commits, we have
fully decoupled the file creation between the analysis and configure phases
of Maneage. Therefore that extra complexity is no longer necessary also.
With this commit, when './project make clean' is given, besides the
possible LaTeX generated files in the top source directory, we simply
delete the full 'build/analysis/' directory.
Diffstat (limited to 'reproduce/analysis/make')
-rw-r--r-- | reproduce/analysis/make/initialize.mk | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/reproduce/analysis/make/initialize.mk b/reproduce/analysis/make/initialize.mk index 5150373..1f2158a 100644 --- a/reproduce/analysis/make/initialize.mk +++ b/reproduce/analysis/make/initialize.mk @@ -265,16 +265,8 @@ clean: # executing 'build'. rm -f *.aux *.log *.synctex *.auxlock *.dvi *.out *.run.xml *.bcf -# Delete all the built outputs except the dependency programs. We'll -# use Bash's extended options builtin ('shopt') to enable "extended -# glob" (for listing of files). It allows extended features like -# ignoring the listing of a file with '!()' that we are using -# afterwards. - shopt -s extglob - rm -rf $(texdir)/macros/!(dependencies.tex|dependencies-bib.tex|hardware-parameters.tex) - rm -rf $(badir)/!(tex) $(texdir)/!(macros|$(texbtopdir)) - rm -rf $(texdir)/build/!(tikz) $(texdir)/build/tikz/* - rm -rf $(badir)/preparation-done.mk +# Delete the full 'badir' (containing all analysis outputs). + rm -rf $(badir) distclean: clean # Without cleaning the Git hooks, we won't be able to easily commit |