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/initialize.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/initialize.mk')
-rw-r--r-- | reproduce/src/make/initialize.mk | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/reproduce/src/make/initialize.mk b/reproduce/src/make/initialize.mk index 5c0aac5..943efdd 100644 --- a/reproduce/src/make/initialize.mk +++ b/reproduce/src/make/initialize.mk @@ -55,7 +55,7 @@ pconfdir = reproduce/config/pipeline # built programs). sys-path := $(PATH) sys-rm := $(shell which rm) - +curdir := $(shell echo $$(pwd)) # High level environment @@ -71,11 +71,11 @@ sys-rm := $(shell which rm) # build here. .ONESHELL: .SHELLFLAGS = -ec -LD_LIBRARY_PATH := .local/lib -PATH := .local/bin -LDFLAGS := -L.local/lib SHELL := .local/bin/bash -CPPFLAGS := -I.local/include +LD_LIBRARY_PATH := $(curdir)/.local/lib +LDFLAGS := -L$(curdir)/.local/lib +CPPFLAGS := -I$(curdir)/.local/include +PATH := $(curdir)/.local/bin:$(shell ls -d $$(pwd)/.local/texlive/2018/bin/*) @@ -211,7 +211,6 @@ $(mtexdir)/initialize.tex: | $(mtexdir) $(call pvcheck, xz, $(xz-version), XZ Utils, xzversion) # Bzip2 prints its version in standard error, not standard output! - echo "here0" echo "" | bzip2 --version &> $@_bzip2_ver; v=$$(awk 'NR==1 && /'$(bzip2-version)'/{print "y"; exit 0}' \ $@_bzip2_ver); \ |