diff options
author | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2019-04-05 16:54:41 +0100 |
---|---|---|
committer | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2019-04-05 16:54:41 +0100 |
commit | 39372eedc72c4f608fc6bd9df10e67dfb8462bf1 (patch) | |
tree | 9fb8c79c84a734fe6f712bb3dcfe7a447e24aa82 /reproduce/src/make/paper.mk | |
parent | ac439cf62255ab38da940eb7bba0ccc00fc835f2 (diff) |
Software acknowledgement section is automatically generated
Until now, management of the software names and versions in the paper was
done manually (a macro had to be defined in `initialize.mk', then used in
`paper.tex', so they had to be manually set in two places). Managing this
was not easy.
To fix this, with this commit, each software building rule's target is a
text file that contains its human-readable name and its version. In the
end, the configure script sorts them by their name and writes them into a
LaTeX input file that we can easily import as a file into the main paper.
Diffstat (limited to 'reproduce/src/make/paper.mk')
-rw-r--r-- | reproduce/src/make/paper.mk | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/reproduce/src/make/paper.mk b/reproduce/src/make/paper.mk index af9a70e..d148c08 100644 --- a/reproduce/src/make/paper.mk +++ b/reproduce/src/make/paper.mk @@ -54,8 +54,7 @@ $(mtexdir)/pipeline.tex: $(foreach s, $(subst paper,,$(makesrc)), $(mtexdir)/$(s if [ ! -e tex/pipeline ]; then ln -s $(texdir) tex/pipeline; fi # Put a LaTeX input command for all the necessary macro files. - echo "\input{tex/pipeline/macros/dependency-versions.tex}" \ - > $(mtexdir)/pipeline.tex + rm -f $(mtexdir)/pipeline.tex for t in $(subst paper,,$(makesrc)); do echo "\input{tex/pipeline/macros/$$t.tex}" >> $(mtexdir)/pipeline.tex done |