aboutsummaryrefslogtreecommitdiff
path: root/reproduce/software/make
diff options
context:
space:
mode:
authorMohammad Akhlaghi <mohammad@akhlaghi.org>2020-04-13 21:51:16 +0100
committerMohammad Akhlaghi <mohammad@akhlaghi.org>2020-04-13 21:55:00 +0100
commit817b1967f9a17d766c332f640288ddf04f95dcc9 (patch)
treefe7d4bc28a909375078723e87dd6bf92f8ff41cc /reproduce/software/make
parentbdbff0b7a6e7f126d20bd5cf92c552e5eb84b457 (diff)
Installation year removed from TeXLive installation
TeXLive recently transitioned from its 2019 version to its 2020 version thanks to Elham Saremi's trial of the this project. The fact that traditionally Maneage installs all TeXLive packages in a per-year directory is very annoying and required an update in the core Maneage system every year. So I suddently recognized that we can fix this by setting a different name for the directory holding the release year. This has been implemented with this commit. I have also done this change in the main Maneage branch for other projects to also benefit from this correction.
Diffstat (limited to 'reproduce/software/make')
-rw-r--r--reproduce/software/make/high-level.mk12
1 files changed, 5 insertions, 7 deletions
diff --git a/reproduce/software/make/high-level.mk b/reproduce/software/make/high-level.mk
index cdaaf7d..b0847a9 100644
--- a/reproduce/software/make/high-level.mk
+++ b/reproduce/software/make/high-level.mk
@@ -1261,12 +1261,10 @@ $(itidir)/texlive-ready-tlmgr: reproduce/software/config/installation/texlive.co
# don't want the configure script to fail if it can't run.
if ./install-tl --profile=texlive.conf -repository $(tlmirror); then
- # Put a symbolic link of the TeX Live executables in `ibdir'. The
- # main problem is that the year and build system (for example
- # `x86_64-linux') are also in the directory names, making it hard
- # to be generic. We are using wildcards here, but only in this
- # Makefile, not in any other.
- ln -fs $(idir)/texlive/20*/bin/*/* $(ibdir)/
+ # Put a symbolic link of the TeX Live executables in `ibdir' to
+ # avoid all the complexities of its sub-directories and additions
+ # to PATH.
+ ln -fs $(idir)/texlive/maneage/bin/*/* $(ibdir)/
# Register that the build was successful.
echo "TeX Live is ready." > $@
@@ -1326,7 +1324,7 @@ $(itidir)/texlive: reproduce/software/config/installation/texlive-packages.conf
# Make a symbolic link of all the TeX Live executables in the bin
# directory so we don't have to modify `PATH'.
- ln -fs $(idir)/texlive/20*/bin/*/* $(ibdir)/
+ ln -fs $(idir)/texlive/maneage/bin/*/* $(ibdir)/
# Get all the necessary versions.
texlive=$$(pdflatex --version | awk 'NR==1' | sed 's/.*(\(.*\))/\1/' \