summaryrefslogtreecommitdiff
path: root/ct-ng.in
diff options
context:
space:
mode:
Diffstat (limited to 'ct-ng.in')
-rw-r--r--ct-ng.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/ct-ng.in b/ct-ng.in
index 03925f9..926ba71 100644
--- a/ct-ng.in
+++ b/ct-ng.in
@@ -14,18 +14,19 @@ export CT_NG:=$(abspath $(lastword $(MAKEFILE_LIST)))
# and this is where we're working in:
export CT_TOP_DIR:=$(shell pwd)
-# Paths and values set by ./configure
-# Don't bother to change it other than with a new ./configure!
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:=$(CT_TOP_DIR)
export CT_LIBEXEC_DIR:=$(CT_TOP_DIR)/kconfig
+export CT_DOC_DIR:=$(CT_TOP_DIR)/docs
else
+# Paths and values set by ./configure
+# Don't bother to change it other than with a new ./configure!
export CT_LIB_DIR:=@pkgdatadir@
export CT_LIBEXEC_DIR:=@pkglibexecdir@
-endif
export CT_DOC_DIR:=@docdir@
+endif
# This is crosstool-NG version string
export CT_VERSION:=@PACKAGE_VERSION@