ct-ng.in
changeset 1144 e1bf6cd3a27c
parent 1143 eee9e8de51e3
child 1155 21e86e18f344
     1.1 --- a/ct-ng.in	Sun Jan 18 17:45:10 2009 +0000
     1.2 +++ b/ct-ng.in	Mon Jan 19 21:57:55 2009 +0000
     1.3 @@ -13,11 +13,13 @@
     1.4  # bash. (Note: this is ugly, but ./configure checks for it).
     1.5  export SHELL=/bin/bash
     1.6  
     1.7 -# This is where ct-ng is.
     1.8 +# This is where ct-ng is:
     1.9 +export CT_NG:=$(lastword $(MAKEFILE_LIST))
    1.10 +# and this is where we're working in:
    1.11 +export CT_TOP_DIR:=$(shell pwd)
    1.12 +
    1.13 +# Paths and values set by ./configure
    1.14  # Don't bother to change it other than with a new ./configure!
    1.15 -CT_NG:=@@CT_BINDIR@@/ct-ng
    1.16 -
    1.17 -export CT_TOP_DIR:=$(shell pwd)
    1.18  export CT_LIB_DIR:=@@CT_LIBDIR@@
    1.19  export CT_DOC_DIR:=@@CT_DOCDIR@@
    1.20