Commit 4801579c authored by Michael Shigorin's avatar Michael Shigorin

profile.mk: export PATH including bin/

Mostly needed for tags2lists at the moment; note that PATH is exported for make recipes but has no effect on make functions.
parent 3373a7bc
Этот каталог содержит тегированные списки; на данный момент
реализация (bin/tags2lists) требует, чтобы каждый тег был
реализация (tags2lists) требует, чтобы каждый из тегов был
отдельным словом, состоящим из символов из набора a-zA-Z0-9_
(внимание: не используйте в слове "-"); рекомендуется
разделять слова "+" или "," (стандарт ещё не устоялся).
......
......@@ -5,6 +5,7 @@ SYMLINK = build
# this could have come from environment;
# if not, can be symlinked if r/w, or made anew
# NB: immediate assignment matters
# NB: PATH has no effect here
ifndef BUILDDIR
BUILDDIR := $(shell [ -s "$(SYMLINK)" ] \
&& realpath "$(SYMLINK)" \
......@@ -14,7 +15,9 @@ endif
# even smart caching only hurts when every build goes from scratch
NO_CACHE ?= 1
export BUILDDIR NO_CACHE
PATH := $(CURDIR)/bin:$(PATH)
export BUILDDIR NO_CACHE PATH
# holds a postprocessor; shell test executes in particular situation
# NB: not exported, for toplevel use only
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment