aboutsummaryrefslogtreecommitdiff
path: root/reproduce/src/make/initialize.mk
diff options
context:
space:
mode:
Diffstat (limited to 'reproduce/src/make/initialize.mk')
-rw-r--r--reproduce/src/make/initialize.mk11
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); \