From b15818ddc06d499bac1bac5640682d40901e9588 Mon Sep 17 00:00:00 2001 From: Mohammad Akhlaghi Date: Sat, 17 Nov 2018 04:43:08 +0000 Subject: TeX Live also built within the pipeline (no extra packages yet) TeX Live is now also downloaded and built by the reproduction pipeline. Currently on the basic (TeX and LaTeX) source is built but no extra packages, so the PDF building will fail. We'll add them in the next commit. --- reproduce/src/make/dependencies.mk | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) (limited to 'reproduce/src/make/dependencies.mk') diff --git a/reproduce/src/make/dependencies.mk b/reproduce/src/make/dependencies.mk index f24fafc..70b0a9e 100644 --- a/reproduce/src/make/dependencies.mk +++ b/reproduce/src/make/dependencies.mk @@ -42,7 +42,7 @@ ildir = $(BDIR)/dependencies/installed/lib # Define the top-level programs to build (installed in `.local/bin', so for # Coreutils, only one of its executables is enough). -top-level-programs = ls gawk gs grep libtool sed git astnoisechisel +top-level-programs = ls gawk gs grep libtool sed git tex astnoisechisel all: $(foreach p, $(top-level-programs), $(ibdir)/$(p)) # Other basic environment settings. @@ -239,4 +239,24 @@ $(ibdir)/astnoisechisel: $(tdir)/gnuastro-$(gnuastro-version).tar.lz \ $(ildir)/libgit2.a \ $(call gbuild,$(subst $(tdir)/,,$<), gnuastro-$(gnuastro-version), \ - static, , -j8, make check -j8) + static, --enable-static=yes --enable-shared=no, -j8, \ + make check -j8) + +$(ibdir)/tex: + + # First we'll download the tarball. Note that since the most recent + # installer is downloaded by day, the installer's version is hard + # to configure at this stage. + #wget -O$(tdir)/install-tl-unx.tar.gz \ + # http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz + + # Unpack, enter the directory and run the installer. + topdir=$$(pwd) + cd $(ddir) + tar xf $(tdir)/install-tl-unx.tar.gz + cd install-tl-* + sed -e's|@installdir[@]|$(idir)|g' -e's|@topdir[@]|'"$$topdir"'|g' \ + $$topdir/reproduce/config/pipeline/texlive.conf > texlive.conf + ./install-tl --profile=texlive.conf + cd .. + rm -rf install-tl-* -- cgit v1.2.1