squawk if attached to wrong DIRECT

This commit is contained in:
David Rose 2004-09-22 23:09:49 +00:00
parent a24eef9135
commit 50f0ebf987

View File

@ -40,6 +40,9 @@
#if $[eq $[DIRECT],]
#error You seem to be attached to some trees, but not DIRECT!
#endif
#if $[ne $[canonical $[DIRECT]], $[canonical $[TOPDIR]]]
#error You are not attached to the right DIRECT!
#endif
#else
#defer DIRECT_INSTALL $[unixfilename $[INSTALL_DIR]]
#defer DIRECT_INSTALL_OTHER $[unixfilename $[INSTALL_DIR]]