"Stephen J. Turnbull" <turnbull(a)sk.tsukuba.ac.jp> writes:
>>>>> "mb" == Martin Buchholz
<martin(a)xemacs.org> writes:
mb> /bin/sh: -c: line 1: syntax error near unexpected token `;'
mb> /bin/sh: -c: line 1: `for dir in ; do make
mb> STAGING=/project/xemacs/ws/xemacs-packages/../Mule-Packages -C
mb> ${dir} install; done'
This is a sh-ism-in-Makefile syntax bug.
Yes, but it wasn't the fault of the Makefile. I'd say that it was
caused from the variable 'MULE_PACKAGES' in 'Local.rules' being empty.
The patch below (actually,
the hunks starting with line 49) fix the bug, and may actually do
something sensible with the whole process. I never had time to
investigate whether this is the right thing.
My first thoughts were that maybe a better approach would be to
implement some kind of sanity checking of 'Local.rules'. In other
words, if 'BUILD_WITHOUT_MULE' = '' produce a fatal error if
'MULE_PACKAGES' is also empty.
Obviously, the _BEST_ approach would be autoconf.
--
|---<Steve Youngs>---------------<GnuPG KeyID: 9E7E2820>---|
| XEmacs - It's not just an editor. |
| It's a way of life. |
|------------------------------------<youngs(a)xemacs.org>---|