diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-01-19 21:57:55 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-01-19 21:57:55 +0000 |
commit | f6a8ed369f9836fb68c3fc7db121ea89e895b051 (patch) | |
tree | f33549890f241e85c71f218ca5c7ad2667d27b78 /ct-ng.in | |
parent | 420f3fdd250fa970a6f5749becc973190c8c399d (diff) | |
download | crosstool-ng-f6a8ed369f9836fb68c3fc7db121ea89e895b051.tar.gz crosstool-ng-f6a8ed369f9836fb68c3fc7db121ea89e895b051.tar.bz2 crosstool-ng-f6a8ed369f9836fb68c3fc7db121ea89e895b051.zip |
Small semantic fix in ct.ng(.in): use make builtin variable to know the make-script name.
/trunk/ct-ng.in | 10 6 4 0 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
Diffstat (limited to 'ct-ng.in')
-rw-r--r-- | ct-ng.in | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -13,11 +13,13 @@ MAKEFLAGS += --no-print-directory --no-builtin-rules # bash. (Note: this is ugly, but ./configure checks for it). export SHELL=/bin/bash -# This is where ct-ng is. -# Don't bother to change it other than with a new ./configure! -CT_NG:=@@CT_BINDIR@@/ct-ng - +# This is where ct-ng is: +export CT_NG:=$(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! export CT_LIB_DIR:=@@CT_LIBDIR@@ export CT_DOC_DIR:=@@CT_DOCDIR@@ |