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/initialize.mk | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'reproduce/src/make/initialize.mk') 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); \ -- cgit v1.2.1