diff options
author | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2018-11-17 04:43:08 +0000 |
---|---|---|
committer | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2018-11-17 04:43:08 +0000 |
commit | b15818ddc06d499bac1bac5640682d40901e9588 (patch) | |
tree | a9b9831f6654551defb76c730806972ebbee0b92 /reproduce/src/make/dependencies.mk | |
parent | d0d7eed20b43fd13a4fcb1e37eb4cabcd7a47a91 (diff) |
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.
Diffstat (limited to 'reproduce/src/make/dependencies.mk')
-rw-r--r-- | reproduce/src/make/dependencies.mk | 24 |
1 files changed, 22 insertions, 2 deletions
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-* |