summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2018-11-10 23:03:22 (GMT)
committerGitHub <noreply@github.com>2018-11-10 23:03:22 (GMT)
commitfad46ac9d1504a90590cf585a700656e1b58e513 (patch)
tree50e8ae4f049f92315d80e3065a7da8748fe9cb61
parent411589ead0cf9c6c85da40016eddd0fe19171401 (diff)
parent2a36181f702d3f72b31ef8370a4a8f77c210d61d (diff)
Merge pull request #1093 from stilor/fix-distclean
Fix distclean
-rw-r--r--ct-ng.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/ct-ng.in b/ct-ng.in
index 75f3354..b99848f 100644
--- a/ct-ng.in
+++ b/ct-ng.in
@@ -17,7 +17,7 @@ export CT_TOP_DIR:=$(shell pwd)
ifeq (@enable_local@,yes)
# automake does not allow to set pkgxxxdir, they are always derived from
# a respective xxxdir. So, for enable-local case, set them directly here.
-export CT_LIB_DIR:=$(dir $(CT_NG))
+export CT_LIB_DIR:=$(patsubst %/,%,$(dir $(CT_NG)))
export CT_LIBEXEC_DIR:=$(CT_LIB_DIR)/kconfig
export CT_DOC_DIR:=$(CT_LIB_DIR)/docs
else