aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--paper.tex25
-rw-r--r--reproduce/analysis/make/initialize.mk6
2 files changed, 19 insertions, 12 deletions
diff --git a/paper.tex b/paper.tex
index cda853f..5367c74 100644
--- a/paper.tex
+++ b/paper.tex
@@ -250,18 +250,19 @@ to follow the ``Publication checklist'' of \texttt{README-hacking.md}.
mentioning the reproducible paper template.}
This project was developed in the reproducible framework of Maneage
-\citep[\emph{Man}aging data lin\emph{eage},][]{maneage}. Maneage has been
-funded partially by the following grants: Japanese Ministry of Education,
-Culture, Sports, Science, and Technology (MEXT) PhD scholarship to
-M. Akhlaghi and its Grant-in-Aid for Scientific Research (21244012,
-24253003). The European Research Council (ERC) advanced grant
-339659-MUSICOS. The European Union (EU) Horizon 2020 (H2020) research and
-innovation programmes No 777388 under RDA EU 4.0 project, and Marie
-Sk\l{}odowska-Curie grant agreement No 721463 to the SUNDIAL ITN. The State
-Research Agency (AEI) of the Spanish Ministry of Science, Innovation and
-Universities (MCIU) and the European Regional Development Fund (ERDF) under
-the grant AYA2016-76219-P. The IAC project P/300724, financed by the MCIU,
-through the Canary Islands Department of Economy, Knowledge and Employment.
+\citep[\emph{Man}aging data lin\emph{eage},][over commit
+ \maneageversion]{maneage}. Maneage has been funded partially by the
+following grants: Japanese Ministry of Education, Culture, Sports, Science,
+and Technology (MEXT) PhD scholarship to M. Akhlaghi and its Grant-in-Aid
+for Scientific Research (21244012, 24253003). The European Research Council
+(ERC) advanced grant 339659-MUSICOS. The European Union (EU) Horizon 2020
+(H2020) research and innovation programmes No 777388 under RDA EU 4.0
+project, and Marie Sk\l{}odowska-Curie grant agreement No 721463 to the
+SUNDIAL ITN. The State Research Agency (AEI) of the Spanish Ministry of
+Science, Innovation and Universities (MCIU) and the European Regional
+Development Fund (ERDF) under the grant AYA2016-76219-P. The IAC project
+P/300724, financed by the MCIU, through the Canary Islands Department of
+Economy, Knowledge and Employment.
%% Tell BibLaTeX to put the bibliography list here.
\printbibliography
diff --git a/reproduce/analysis/make/initialize.mk b/reproduce/analysis/make/initialize.mk
index 315be1a..dff5eca 100644
--- a/reproduce/analysis/make/initialize.mk
+++ b/reproduce/analysis/make/initialize.mk
@@ -465,3 +465,9 @@ $(mtexdir)/initialize.tex: | $(mtexdir)
# Version and title of project.
echo "\newcommand{\projecttitle}{$(metadata-title)}" > $@
echo "\newcommand{\projectversion}{$(project-commit-hash)}" >> $@
+
+ # Calculate the latest Maneage commit used to build this
+ # project. Note that the '--dirty' option isn't applicable to
+ # "commit-ishes" (direct quote from Git's error message!).
+ v=$$(git describe --always --long maneage)
+ echo "\newcommand{\maneageversion}{$$v}" >> $@