diff options
author | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2018-11-12 20:50:27 +0000 |
---|---|---|
committer | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2018-11-12 20:50:27 +0000 |
commit | 50139310e1ec4594da15651ecb8475ab33248cb5 (patch) | |
tree | 23bfabbb6f595b8ab47eed183a3bfcdcbd687347 /reproduce/src/make/initialize.mk | |
parent | ab85697bb2cf68d53bee4652f17aadc1b93facb7 (diff) |
System's environment (including PATH) only available for LaTeX
The system's environment is now removed from the internal processing of the
pipeline, except for LaTeX.
Diffstat (limited to 'reproduce/src/make/initialize.mk')
-rw-r--r-- | reproduce/src/make/initialize.mk | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/reproduce/src/make/initialize.mk b/reproduce/src/make/initialize.mk index 5fd87c9..c5f8620 100644 --- a/reproduce/src/make/initialize.mk +++ b/reproduce/src/make/initialize.mk @@ -53,7 +53,8 @@ pconfdir = reproduce/config/pipeline # Before defining the local sub-environment here, we'll need to save the # system's environment for some scenarios (for example after `clean'ing the # built programs). -sys-rm := $(shell which rm) +sys-path := $(PATH) +sys-rm := $(shell which rm) @@ -70,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 -PATH := .local/bin:$(PATH) -LDFLAGS := -L.local/lib $(LDFLAGS) -CPPFLAGS := -I.local/include $(CPPFLAGS) -LD_LIBRARY_PATH := .local/lib:$(LD_LIBRARY_PATH) +CPPFLAGS := -I.local/include |