Mercurial > hg > xemacs-beta
diff Makefile.in.in @ 4361:146742e30f05
Ensure LATE_PACKAGES_DIRECTORIES is a trivial search path.
author | Stephen J. Turnbull <stephen@xemacs.org> |
---|---|
date | Wed, 26 Dec 2007 22:38:40 -0800 |
parents | 3af63264d320 |
children | 4939bde48d12 |
line wrap: on
line diff
--- a/Makefile.in.in Wed Dec 26 22:21:45 2007 +0100 +++ b/Makefile.in.in Wed Dec 26 22:38:40 2007 -0800 @@ -513,11 +513,18 @@ then echo "To install the full set of packages with mule in"; \ echo "${package_path}/mule-packages, type:"; \ echo " make install-all-packages"; \ - fi; + fi + +# The test for a non-trivial path simply checks for the conventional Unix +# path separator ":". This is reasonable because this is basically just +# a convenience feature, anyway. mkpkgdir: FRC.mkdir ${MAKEPATH} @if test -z ${package_path}; \ - then echo "not configured --with-late-packages; no place to install."; \ + then echo "Not configured --with-late-packages; no place to install."; \ + exit -1; \ + elif echo ${package_path} | grep ":"; \ + then echo "Configured with multiple late package directories; you decide where to install."; \ exit -1; \ elif test -e ${package_path}/xemacs-packages \ -o -e ${package_path}/mule-packages; \