aboutsummaryrefslogtreecommitdiff
path: root/reproduce/analysis/make/initialize.mk
diff options
context:
space:
mode:
authorMohammad Akhlaghi <mohammad@akhlaghi.org>2020-10-18 14:37:16 +0100
committerMohammad Akhlaghi <mohammad@akhlaghi.org>2020-10-18 14:37:16 +0100
commit2b39a67c571d1b6ea2375f65be6bf55831e4eaac (patch)
tree37a87d0895af614b68c18a5630d519a4c53b11f9 /reproduce/analysis/make/initialize.mk
parent04bda5a85b879523188579c1a2bb8af8907d85f8 (diff)
Recipes for final initialize and verify targets not on stdout
The LaTeX macro files for these two subMakefiles are created on every run of './project make'. So their commands are also printed every time and hardly ever will a normal user want to modify or change these. So to avoid populating the standard output of a Maneaged project with all these extra lines every time (possibly getting mixed with the important analysis or LaTeX outputs), an '@' has been placed at the start of the recipes. With an '@' at the start of the recipe, Make is instructed to not print the commands it wants to run in the standard output.
Diffstat (limited to 'reproduce/analysis/make/initialize.mk')
-rw-r--r--reproduce/analysis/make/initialize.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/reproduce/analysis/make/initialize.mk b/reproduce/analysis/make/initialize.mk
index 3a35ece..7217f0c 100644
--- a/reproduce/analysis/make/initialize.mk
+++ b/reproduce/analysis/make/initialize.mk
@@ -478,8 +478,11 @@ print-copyright = \
# actually exists, it is also aded as a `.PHONY' target above.
$(mtexdir)/initialize.tex: | $(mtexdir)
- # Version and title of project.
- echo "\newcommand{\projecttitle}{$(metadata-title)}" > $@
+ # Version and title of project. About the starting '@': since these
+ # commands are run every time with './project make', it is annoying
+ # to print them on the standard output every time. With the '@',
+ # make will not print the commands that it runs in this recipe.
+ @echo "\newcommand{\projecttitle}{$(metadata-title)}" > $@
echo "\newcommand{\projectversion}{$(project-commit-hash)}" >> $@
# Calculate the latest Maneage commit used to build this