make ctattach behavior only when ctprojs defined

This commit is contained in:
David Rose 2006-03-26 23:12:53 +00:00
parent 2034bd25bb
commit df2e738dfe
5 changed files with 9 additions and 7 deletions

View File

@ -37,7 +37,7 @@
// Where should we install DIRECT?
#if $[DIRECT_INSTALL]
#define DIRECT_INSTALL $[unixfilename $[DIRECT_INSTALL]]
#elif $[or $[CTPROJS],$[DIRECT]]
#elif $[CTPROJS]
#set DIRECT $[unixfilename $[DIRECT]]
#define DIRECT_INSTALL $[DIRECT]/built
#if $[eq $[DIRECT],]

View File

@ -33,7 +33,7 @@
// Where should we install DTOOL, specifically?
#if $[DTOOL_INSTALL]
#define DTOOL_INSTALL $[unixfilename $[DTOOL_INSTALL]]
#elif $[or $[CTPROJS],$[DTOOL]]
#elif $[CTPROJS]
// If we are presently attached, use the environment variable.
// We define two variables: one for ourselves, which burns in the
// current value of the DTOOL environment variable (so that any

View File

@ -37,7 +37,7 @@
// Where should we install PANDA?
#if $[PANDA_INSTALL]
#define PANDA_INSTALL $[unixfilename $[PANDA_INSTALL]]
#elif $[or $[CTPROJS],$[PANDA]]
#elif $[CTPROJS]
#set PANDA $[unixfilename $[PANDA]]
#define PANDA_INSTALL $[PANDA]/built
#if $[eq $[PANDA],]

View File

@ -35,15 +35,15 @@
#endif
// Where should we install PANDAAPP?
#if $[or $[CTPROJS],$[PANDAAPP]]
#if $[PANDAAPP_INSTALL]
#define PANDAAPP_INSTALL $[unixfilename $[PANDAAPP_INSTALL]]
#elif $[CTPROJS]
#define PANDAAPP_INSTALL $[PANDAAPP]/built
#define PANDAAPP_INSTALL_OTHER $(PANDAAPP)
#if $[eq $[PANDAAPP],]
#error You seem to be attached to some trees, but not PANDAAPP!
#endif
#else
#defer PANDAAPP_INSTALL $[unixfilename $[INSTALL_DIR]]
#defer PANDAAPP_INSTALL_OTHER $[unixfilename $[INSTALL_DIR]]
#endif
// Also get the PANDATOOL Package file and everything that includes.

View File

@ -35,7 +35,9 @@
#endif
// Where should we install PANDATOOL?
#if $[or $[CTPROJS],$[PANDATOOL]]
#if $[PANDATOOL_INSTALL]
#define PANDATOOL_INSTALL $[unixfilename $[PANDATOOL_INSTALL]]
#elif $[CTPROJS]
#set PANDATOOL $[unixfilename $[PANDATOOL]]
#define PANDATOOL_INSTALL $[PANDATOOL]/built
#if $[eq $[PANDATOOL],]