From 36210a6370dee569f32c96dec90e355aa72d1e9b Mon Sep 17 00:00:00 2001 From: Mohammad Akhlaghi Date: Thu, 21 Aug 2025 14:20:54 +0200 Subject: make dist: allows updating of references.tex in tarball Until this commit, when we wanted to build the project's PDF within the tarball (outside of Maneage) and it was necessary to update 'references.tex', the update would not be applied in the PDF. This was because BibTeX only allows a single '.bib' file that was hard-coded in the distribution tarball. With this commit, the temporary Makefile that is also built in the distribution tarball also creates 'references.bib' when necessary. Thus fixing the issue above. --- reproduce/analysis/make/initialize.mk | 3 +++ 1 file changed, 3 insertions(+) (limited to 'reproduce') diff --git a/reproduce/analysis/make/initialize.mk b/reproduce/analysis/make/initialize.mk index 442adfc..836a064 100644 --- a/reproduce/analysis/make/initialize.mk +++ b/reproduce/analysis/make/initialize.mk @@ -301,6 +301,9 @@ $(project-package-contents): paper.pdf | $(texdir) echo "paper.pdf: paper.tex paper.bbl" > $$m printf "\tpdflatex -shell-escape -halt-on-error paper\n" >> $$m echo "paper.bbl: tex/src/references.tex" >> $$m + printf "\tcat tex/src/references.tex \\ \b\n" >> $$m + printf "\t tex/build/macros/dependencies-bib.tex \\ \b\n" >> $$m + printf "\t > references.bib\n" >> $$m printf "\tpdflatex -shell-escape -halt-on-error paper\n" >> $$m printf "\tbibtex paper\n" >> $$m printf "\tpdflatex -shell-escape -halt-on-error paper\n" >> $$m -- cgit v1.2.1