# HG changeset patch # User "Yann E. MORIN" # Date 1232402275 0 # Node ID e1bf6cd3a27c43d1bb2a647cfb87db5d7b21a51c # Parent eee9e8de51e33021887427275783b1c77959161e 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(-) diff -r eee9e8de51e3 -r e1bf6cd3a27c ct-ng.in --- a/ct-ng.in Sun Jan 18 17:45:10 2009 +0000 +++ b/ct-ng.in Mon Jan 19 21:57:55 2009 +0000 @@ -13,11 +13,13 @@ # bash. (Note: this is ugly, but ./configure checks for it). export SHELL=/bin/bash -# This is where ct-ng is. +# 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! -CT_NG:=@@CT_BINDIR@@/ct-ng - -export CT_TOP_DIR:=$(shell pwd) export CT_LIB_DIR:=@@CT_LIBDIR@@ export CT_DOC_DIR:=@@CT_DOCDIR@@