aboutsummaryrefslogtreecommitdiff
path: root/reproduce/analysis/make/paper.mk
diff options
context:
space:
mode:
authorMohammad Akhlaghi <mohammad@akhlaghi.org>2020-01-01 19:39:36 +0000
committerMohammad Akhlaghi <mohammad@akhlaghi.org>2020-01-01 20:12:07 +0000
commitbc860926afc0f5486d59f3f186847445bf6f314a (patch)
tree77b7659805c7706e453ceb2b85ed2b8103a30e5d /reproduce/analysis/make/paper.mk
parent3d8e3fc072525f0b811a8b104a944cc6fbf76c1c (diff)
Verification of output values and data added within template
Until now, the only verification that the template provided was the published PDF. Users had to manually compare the published and generated PDFs (numbers, plots, tables) and see if they obtained the same result. However, this type of manual verification is not good and is prone to frustration and missing important differences. With this commit, a new Makefile has been added in the analysis steps: `verify.mk'. It provides facilities to easily verify the results that go into the paper. For example tables that go into making the paper's plots, or the LaTeX macros that blend into the text. See the updated parts in `README-hacking.md` for a more complete explanation. This completes task #15497.
Diffstat (limited to 'reproduce/analysis/make/paper.mk')
-rw-r--r--reproduce/analysis/make/paper.mk11
1 files changed, 6 insertions, 5 deletions
diff --git a/reproduce/analysis/make/paper.mk b/reproduce/analysis/make/paper.mk
index f76f5de..a4eeb2e 100644
--- a/reproduce/analysis/make/paper.mk
+++ b/reproduce/analysis/make/paper.mk
@@ -28,17 +28,18 @@
# `$(mtexdir)/project.tex' is actually just a combination of separate files
# that keep the LaTeX macros related to each workhorse Makefile (in
# `reproduce/src/make/*.mk'). Those individual macros are pre-requisites to
-# `$(mtexdir)/project.tex'. The only workhorse Makefile that doesn't need
-# to produce LaTeX macros is this Makefile (`reproduce/src/make/paper.mk').
+# `$(mtexdir)/verify.tex' which will check them before starting to build
+# the paper. The only workhorse Makefile that doesn't need to produce LaTeX
+# macros is this Makefile (`reproduce/src/make/paper.mk').
#
-# This file is thus the interface between the processing scripts and the
-# final PDF: when we get to this point, all the processing has been
+# This file is thus the interface between the analysis/processing steps and
+# the final PDF: when we get to this point, all the processing has been
# completed.
#
# Note that if you don't want the final PDF and just want the processing
# and file outputs, you can remove the value of `pdf-build-final' in
# `reproduce/analysis/config/pdf-build.mk'.
-$(mtexdir)/project.tex: $(foreach s, $(subst paper,,$(makesrc)), $(mtexdir)/$(s).tex)
+$(mtexdir)/project.tex: $(mtexdir)/verify.tex
# If no PDF is requested, or if LaTeX isn't available, don't
# continue to building the final PDF. Otherwise, merge all the TeX