aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--paper.tex4
-rw-r--r--reproduce/analysis/config/metadata.conf2
-rw-r--r--reproduce/analysis/make/initialize.mk4
3 files changed, 7 insertions, 3 deletions
diff --git a/paper.tex b/paper.tex
index 7f4a923..e8b8e70 100644
--- a/paper.tex
+++ b/paper.tex
@@ -75,7 +75,7 @@
This paper is itself written with Maneage (project commit \projectversion).
\vspace{3mm}
- \emph{Reproducible supplement} --- All products in \href{https://doi.org/10.5281/zenodo.3872248}{\texttt{zenodo.3872248}},
+ \emph{Reproducible supplement} --- All products in \href{https://doi.org/10.5281/zenodo.\projectzenodoid}{\texttt{zenodo.\projectzenodoid}},
Git history of source at \href{https://gitlab.com/makhlaghi/maneage-paper}{\texttt{gitlab.com/makhlaghi/maneage-paper}},
which is also archived on \href{https://archive.softwareheritage.org/browse/origin/directory/?origin_url=https://gitlab.com/makhlaghi/maneage-paper.git}{SoftwareHeritage}.
\end{abstract}
@@ -310,7 +310,7 @@ Figure \ref{fig:datalineage} (bottom) is the data lineage graph that produced it
The solid arrows and full-opacity built boxes correspond to this paper.
The dashed arrows and low-opacity built boxes show the scalability by adding hypothetical steps to the project.
The underlying data of the top plot is available at
- \href{https://zenodo.org/record/3872248/files/tools-per-year.txt}{zenodo.3872248/tools-per-year.txt}.
+ \href{https://zenodo.org/record/\projectzenodoid/files/tools-per-year.txt}{zenodo.\projectzenodoid/tools-per-year.txt}.
}
\end{figure*}
diff --git a/reproduce/analysis/config/metadata.conf b/reproduce/analysis/config/metadata.conf
index cddc33f..07a1145 100644
--- a/reproduce/analysis/config/metadata.conf
+++ b/reproduce/analysis/config/metadata.conf
@@ -14,7 +14,7 @@ metadata-title = Towards Long-term and Archivable Reproducibility
# DOIs and identifiers.
metadata-arxiv = 2006.03018
-metadata-doi-zenodo = https://doi.org/10.5281/zenodo.3872248
+metadata-doi-zenodo = https://doi.org/10.5281/zenodo.3911395
metadata-doi-journal =
metadata-doi = $(metadata-doi-zenodo)
metadata-git-repository = https://gitlab.com/makhlaghi/maneage-paper
diff --git a/reproduce/analysis/make/initialize.mk b/reproduce/analysis/make/initialize.mk
index d01cda0..1ec43e5 100644
--- a/reproduce/analysis/make/initialize.mk
+++ b/reproduce/analysis/make/initialize.mk
@@ -470,3 +470,7 @@ $(mtexdir)/initialize.tex: | $(mtexdir)
# Version and title of project.
echo "\newcommand{\projecttitle}{$(metadata-title)}" > $@
echo "\newcommand{\projectversion}{$(project-commit-hash)}" >> $@
+
+ # Zenodo identifier (necessary for download link):
+ v=$$(echo $(metadata-doi-zenodo) | sed -e's/\./ /g' | awk '{print $$NF}')
+ echo "\newcommand{\projectzenodoid}{$$v}" >> $@